#include <FedServer.hpp>
Public Member Functions | |
FedServer (InterCom *pInterCom, boost::shared_ptr< DataAccess > pDA) | |
virtual | ~FedServer () |
int | publishServices () |
virtual void | commandHandler () |
int | executeCommand (char *pTarget, char *pIncomingCmnd, int size) |
FedMessenger * | getMessenger () |
int | getState () const |
void | exitHandler () |
int | broadcastCommand (void *cmnd, int size) |
|
Constructor for the FED - DIMServer (contacting PVSS).
|
|
Destructor of the FED - DIMServer. |
|
Function sends received command further to all registered FeeServers.
|
|
Executes an incomming command from FedClient (RPC - call) and expects the result for further delivery as return value.
|
|
The exit handler has to be overwritten to avoid an exit() call from the DIM framework. Whenever an exit Command is sent, this handler will be called. A call of addExitHandler(this) is neccessary (e.g. in publishServices()) to satisfy C-Style baseframe. |
|
Getter - method for the FedMessenger.
|
|
Getter for the State of the FedServer.
|
|
Publishes all services that the FeeClient has been subscribed to and creates a RPC - Service for each FeeServer, the FeeClient is connected to. The service objects are stored into the mpFedServiceCollection, the RPC - Services in mpFedRpcCollection.
|