#include <boss_cscomm.h>
Public Member Functions | |
BOSSCSComm (const string &host_name, const ConnectionType &T, const short port_id) | |
~BOSSCSComm () | |
void | sendDocument (const string &id, const string &s) |
void | sendSignal (const string &id, const char *d, const uint32_t &s) |
Document | receiveDocument () |
Signal | receiveSignal () |
string | acceptConnection () |
void | closeSock () |
void | closeServer () |
Private Member Functions | |
uint32_t | readSize () |
char * | readBytes (uint32_t &size) |
void | writeSize (uint32_t size) |
Private Attributes | |
int | server_socket |
int | boss_socket |
sockaddr_in | serv_addr |
socklen_t | sock_len |
ConnectionType | type |
Harald Ketzer
Stefan Breuer
|
A class for socket-based communication between BOSS server and client
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|