#include <client.h>


Public Member Functions | |
| Client () | |
| Constructs a new client. | |
| virtual | ~Client () |
| Destructs the client. | |
| bool | connectServer (ServerPtr server) |
| Open and connect an Equalizer server to the local client. | |
| bool | disconnectServer (ServerPtr server) |
| Disconnect and close the connection of an Equalizer server to the local client. | |
| bool | hasCommands () |
| void | processCommand () |
| Get and process one command from the node command queue. | |
| virtual bool | listen () |
| virtual bool | stopListening () |
| void | setWindowSystem (const WindowSystem windowSystem) |
| Set the window system for the client's message pump, used by non-threaded pipes. | |
| CommandQueue * | getNodeThreadQueue () |
| Return the command queue to the main node thread. | |
Protected Member Functions | |
| virtual bool | clientLoop () |
| virtual bool | exitClient () |
Definition at line 35 of file lib/client/client.h.
| bool eq::Client::connectServer | ( | ServerPtr | server | ) |
Open and connect an Equalizer server to the local client.
Definition at line 93 of file lib/client/client.cpp.
References eq::net::Node::connect(), EQINFO, EQWARN, eq::base::RefPtr< T >::get(), and eq::Global::getServer().
Referenced by eqPly::EqPly::run().


| bool eq::Client::disconnectServer | ( | ServerPtr | server | ) |
Disconnect and close the connection of an Equalizer server to the local client.
Definition at line 200 of file lib/client/client.cpp.
References eq::net::Node::disconnect(), EQWARN, eq::CommandQueue::flush(), and eq::base::RefPtr< T >::get().
Referenced by eqPly::EqPly::run().


| bool eq::Client::hasCommands | ( | ) |
Definition at line 264 of file lib/client/client.cpp.
References eq::net::CommandQueue::isEmpty().
Referenced by eqPly::EqPly::run().


| void eq::Client::processCommand | ( | ) |
Get and process one command from the node command queue.
Used internally to run node commands.
Definition at line 269 of file lib/client/client.cpp.
References eq::net::COMMAND_DISCARD, eq::net::COMMAND_ERROR, eq::net::COMMAND_HANDLED, eq::CommandQueue::pop(), and eq::net::Command::release().
Referenced by clientLoop(), and eqPly::EqPly::run().


| bool eq::Client::listen | ( | ) | [virtual] |
Reimplemented from eq::net::Node.
Definition at line 57 of file lib/client/client.cpp.
References eq::net::Dispatcher::registerCommand().

| bool eq::Client::stopListening | ( | ) | [virtual] |
Reimplemented from eq::net::Node.
Definition at line 83 of file lib/client/client.cpp.
References eq::net::Node::stopListening().
Referenced by ~Client().


| void eq::Client::setWindowSystem | ( | const WindowSystem | windowSystem | ) |
Set the window system for the client's message pump, used by non-threaded pipes.
For internal use only.
Definition at line 68 of file lib/client/client.cpp.
References EQINFO, EQWARN, eq::CommandQueue::getWindowSystem(), and eq::CommandQueue::setWindowSystem().

| CommandQueue* eq::Client::getNodeThreadQueue | ( | ) | [inline] |
Return the command queue to the main node thread.
Definition at line 87 of file lib/client/client.h.
| bool eq::Client::clientLoop | ( | ) | [protected, virtual] |
Reimplemented from eq::net::Node.
Reimplemented in eqPly::EqPly.
Definition at line 244 of file lib/client/client.cpp.
References EQINFO, eq::CommandQueue::flush(), and processCommand().
Referenced by eqPly::EqPly::clientLoop().


| bool eq::Client::exitClient | ( | ) | [protected, virtual] |
Reimplemented from eq::net::Node.
Definition at line 259 of file lib/client/client.cpp.
References eq::exit(), and eq::net::Node::exitClient().

0.9 by
1.5.8