Equalizer
1.7.3
|
The client represents the admin tool as a co::Node to the cluster. More...
#include <client.h>
Public Member Functions | |
EQADMIN_API | Client () |
Construct a new client. More... | |
virtual EQADMIN_API | ~Client () |
Destruct the client. More... | |
EQADMIN_API bool | connectServer (ServerPtr server) |
Open and connect an Equalizer server to the local client. More... | |
EQADMIN_API bool | disconnectServer (ServerPtr server) |
Disconnect and close the connection to an Equalizer server. More... | |
virtual co::CommandQueue * | getMainThreadQueue () |
Public Member Functions inherited from eq::fabric::Client | |
EQFABRIC_API bool | connectServer (co::NodePtr server) |
Open and connect an Equalizer server to the local client. More... | |
EQFABRIC_API bool | disconnectServer (co::NodePtr server) |
Disconnect and close the connection to an Equalizer server. More... | |
EQFABRIC_API void | processCommand (const uint32_t timeout=LB_TIMEOUT_INDEFINITE) |
Get and process one pending command from the node command queue. More... | |
virtual EQFABRIC_API bool | dispatchCommand (co::ICommand &command) |
Additional Inherited Members | |
Protected Member Functions inherited from eq::fabric::Client | |
EQFABRIC_API | Client () |
Construct a new client. | |
The client represents the admin tool as a co::Node to the cluster.
The methods initLocal() and exitLocal() should be used to set up and exit the listening node instance for each application process.
Definition at line 38 of file admin/client.h.
EQADMIN_API eq::admin::Client::Client | ( | ) |
Construct a new client.
|
virtual |
EQADMIN_API bool eq::admin::Client::connectServer | ( | ServerPtr | server | ) |
Open and connect an Equalizer server to the local client.
The client has to be in the listening state, see initLocal().
server | the server. |
EQADMIN_API bool eq::admin::Client::disconnectServer | ( | ServerPtr | server | ) |
Disconnect and close the connection to an Equalizer server.
server | the server. |
|
inlinevirtual |
Implements eq::fabric::Client.
Definition at line 68 of file admin/client.h.