#include <client.h>


Definition at line 20 of file 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. | |
| 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 () |
| bool eq::Client::connectServer | ( | ServerPtr | server | ) |
Open and connect an Equalizer server to the local client.
| server | the server. |
Definition at line 81 of file client.cpp.
References eq::net::Node::connect(), eq::base::RefPtr< T >::get(), and eq::Global::getServer().

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

| void eq::Client::processCommand | ( | ) |
Get and process one command from the node command queue.
Used internally to run nonthreaded commands.
Definition at line 281 of file client.cpp.
References eq::CommandQueue::pop(), and eq::net::CommandQueue::release().
Referenced by clientLoop().


| bool eq::Client::listen | ( | ) | [virtual] |
Reimplemented from eq::net::Node.
Definition at line 47 of file client.cpp.
References eq::net::Node::listen(), and eq::net::Base::registerCommand().

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


| CommandQueue* eq::Client::getNodeThreadQueue | ( | ) | [inline] |
| bool eq::Client::clientLoop | ( | ) | [protected, virtual] |
Reimplemented from eq::net::Node.
Definition at line 261 of file client.cpp.
References eq::CommandQueue::flush(), and processCommand().

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

0.6 by
1.5.5