Equalizer  1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
eq::admin::Client Class Reference

The client represents the admin tool as a co::Node to the cluster. More...

#include <client.h>

+ Inheritance diagram for eq::admin::Client:
+ Collaboration diagram for eq::admin::Client:

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

EQADMIN_API eq::admin::Client::Client ( )

Construct a new client.

Version
1.0
virtual EQADMIN_API eq::admin::Client::~Client ( )
virtual

Destruct the client.

Version
1.0

Reimplemented from eq::fabric::Client.

Member Function Documentation

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().

Parameters
serverthe server.
Returns
true if the server was connected, false if not.
Version
1.0
EQADMIN_API bool eq::admin::Client::disconnectServer ( ServerPtr  server)

Disconnect and close the connection to an Equalizer server.

Parameters
serverthe server.
Returns
true if the server was disconnected, false if not.
Version
1.0
virtual co::CommandQueue* eq::admin::Client::getMainThreadQueue ( )
inlinevirtual
Returns
the command queue to the main node thread.

Implements eq::fabric::Client.

Definition at line 68 of file admin/client.h.


The documentation for this class was generated from the following file: