#include <ArCentralManager.h>
Inheritance diagram for ArCentralManager:

| ArCentralManager::ArCentralManager | ( | ArServerBase * | robotServer, | |
| ArServerBase * | clientServer | |||
| ) |
Constructor.
| ArCentralManager::~ArCentralManager | ( | ) | [virtual] |
Destructor.
| void ArCentralManager::addForwarderAddedCallback | ( | ArFunctor1< ArCentralForwarder * > * | functor, | |
| int | priority = 0 | |||
| ) |
Adds a callback for when a new forwarder is added.
| void ArCentralManager::addForwarderRemovedCallback | ( | ArFunctor1< ArCentralForwarder * > * | functor, | |
| int | priority = 0 | |||
| ) |
Adds a callback for when a new forwarder is destroyed.
| void ArCentralManager::close | ( | void | ) | [protected] |
| void ArCentralManager::forwarderServerClientRemovedCallback | ( | ArCentralForwarder * | forwarder, | |
| ArServerClient * | client | |||
| ) |
A callback so we can tell the main connection happened when a client is removed.
| void ArCentralManager::logConnections | ( | void | ) |
Logs all the connection information.
| void ArCentralManager::mainServerClientRemovedCallback | ( | ArServerClient * | client | ) |
A callback so we can close down other connetions when a main client loses connection.
| void ArCentralManager::netClientList | ( | ArServerClient * | client, | |
| ArNetPacket * | packet | |||
| ) |
Networking command to get the list of clients.
| void ArCentralManager::netServerSwitch | ( | ArServerClient * | client, | |
| ArNetPacket * | packet | |||
| ) |
Networking command to switch the direction of a connection.
acknowledge the switch
| bool ArCentralManager::processFile | ( | void | ) | [protected] |
| void ArCentralManager::remForwarderAddedCallback | ( | ArFunctor1< ArCentralForwarder * > * | functor | ) |
Removes a callback for when a new forwarder is added.
| void ArCentralManager::remForwarderRemovedCallback | ( | ArFunctor1< ArCentralForwarder * > * | functor | ) |
Removes a callback for when a new forwarder is destroyed.
| void * ArCentralManager::runThread | ( | void * | arg | ) | [virtual] |
ArFunctorC<ArCentralManager> ArCentralManager::myAriaExitCB [protected] |
ArMutex ArCentralManager::myCallbackMutex [protected] |
double ArCentralManager::myClientBackupTimeout [protected] |
std::list<std::string> ArCentralManager::myClientNames [protected] |
ArServerBase* ArCentralManager::myClientServer [protected] |
std::list<ArSocket *> ArCentralManager::myClientSockets [protected] |
ArMutex ArCentralManager::myDataMutex [protected] |
std::multimap<int, ArFunctor1<ArCentralForwarder *> *> ArCentralManager::myForwarderAddedCBList [protected] |
std::multimap<int, ArFunctor1<ArCentralForwarder *> *> ArCentralManager::myForwarderRemovedCBList [protected] |
std::list<ArCentralForwarder *> ArCentralManager::myForwarders [protected] |
ArFunctor2C<ArCentralManager, ArCentralForwarder *, ArServerClient *> ArCentralManager::myForwarderServerClientRemovedCB [protected] |
double ArCentralManager::myHeartbeatTimeout [protected] |
ArFunctor1C<ArCentralManager, ArServerClient *> ArCentralManager::myMainServerClientRemovedCB [protected] |
int ArCentralManager::myMostClients [protected] |
int ArCentralManager::myMostForwarders [protected] |
ArFunctor2C<ArCentralManager, ArServerClient *, ArNetPacket *> ArCentralManager::myNetClientListCB [protected] |
ArFunctor2C<ArCentralManager, ArServerClient *, ArNetPacket *> ArCentralManager::myNetSwitchCB [protected] |
int ArCentralManager::myOnSocket [protected] |
ArRetFunctorC<bool, ArCentralManager> ArCentralManager::myProcessFileCB [protected] |
double ArCentralManager::myRobotBackupTimeout [protected] |
ArServerBase* ArCentralManager::myRobotServer [protected] |
double ArCentralManager::myUdpHeartbeatTimeout [protected] |
std::set<int> ArCentralManager::myUsedPorts [protected] |
1.4.7