![]() |
Public Member Functions | |
void | connectToScene (TUSceneChangeManager *changeMgr) |
int | bindNewPort () |
void | boundPorts (QVector< int > &o_ports) |
void | unbindPort (int port) |
int | acceptAtPort (int port, int timeoutMS, int msgBufferSize=20) |
bool | clientSocketConnected (int clientSocketId, unsigned long timeoutMS=1000) |
void | removeSocketConnection (int clientSocketId) |
bool | send (int clientSocketId, String &msg, unsigned long timeoutMS=1000) |
bool | recv (int clientSocketId, int timeoutMS) |
void | flushReceivedMsgsBuffer (int clientSocketId) |
void | receivedMsgs (int clientSocketId, QVector< String > &o_messages) |
void | unbindAll () |
~SessionSocketManager () | |
Static Public Member Functions | |
static SessionSocketManager * | instance () |
SessionSocketManager::~SessionSocketManager | ( | ) |
int SessionSocketManager::acceptAtPort | ( | int | port, |
int | timeoutMS, | ||
int | msgBufferSize = 20 |
||
) |
int SessionSocketManager::bindNewPort | ( | ) |
void SessionSocketManager::boundPorts | ( | QVector< int > & | o_ports | ) |
bool SessionSocketManager::clientSocketConnected | ( | int | clientSocketId, |
unsigned long | timeoutMS = 1000 |
||
) |
void SessionSocketManager::connectToScene | ( | TUSceneChangeManager * | changeMgr | ) |
void SessionSocketManager::flushReceivedMsgsBuffer | ( | int | clientSocketId | ) |
|
static |
void SessionSocketManager::receivedMsgs | ( | int | clientSocketId, |
QVector< String > & | o_messages | ||
) |
bool SessionSocketManager::recv | ( | int | clientSocketId, |
int | timeoutMS | ||
) |
void SessionSocketManager::removeSocketConnection | ( | int | clientSocketId | ) |
bool SessionSocketManager::send | ( | int | clientSocketId, |
String & | msg, | ||
unsigned long | timeoutMS = 1000 |
||
) |
void SessionSocketManager::unbindAll | ( | ) |
void SessionSocketManager::unbindPort | ( | int | port | ) |