Main Page | Modules | Class Hierarchy | Data Structures | File List | Data Fields | Globals | Related Pages

openmaiaServer Class Reference
[openmaia application objects]

#include <openmaiaServer.h>


Public Member Functions

 openmaiaServer ()
void AgentMessage (wxString, int, omTCPMessage)

Private Member Functions

 WX_DECLARE_STRING_HASH_MAP (openmaiaConnectedAgent *, SocketMap)
void OnServerEvent (wxSocketEvent)
void OnSocketEvent (wxSocketEvent)

Private Attributes

int nagents
wxSocketServer * server
std::vector< wxString > agentKeys
SocketMap agentsMap


Detailed Description

This class implements a server ...


Constructor & Destructor Documentation

openmaiaServer::openmaiaServer  ) 
 


Member Function Documentation

void openmaiaServer::AgentMessage wxString  ,
int  ,
omTCPMessage 
 

void openmaiaServer::OnServerEvent wxSocketEvent  event  )  [private]
 

This method is called when a client attempt to connect to the server. this method stores client information and activate event handlig on socket associated with this connection

void openmaiaServer::OnSocketEvent wxSocketEvent   )  [private]
 

openmaiaServer::WX_DECLARE_STRING_HASH_MAP openmaiaConnectedAgent ,
SocketMap 
[private]
 


Field Documentation

std::vector<wxString> openmaiaServer::agentKeys [private]
 

SocketMap openmaiaServer::agentsMap [private]
 

int openmaiaServer::nagents [private]
 

wxSocketServer* openmaiaServer::server [private]
 


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