|
THREAD_RET THREAD_FUNCTION_CALL | NetworkManagerRun (THREAD_ARG arg) |
|
bool | setSSLCertificate (const char *sslCertPath, const char *sslKeyPath) |
|
NetworkChannel * | createListener (uint16 port, uint8 encryption, uint8 protocol, bool isAsync, uint32 protocolTimeout, bool isDefaultProtocol, uint32 channelID, NetworkReceiver *recv) |
|
NetworkChannel * | createTCPConnection (const char *addr, uint16 port, uint8 encryption, uint8 protocol, bool isAsync, bool autoreconnect, uint32 channelID, NetworkReceiver *recv, uint64 &conid, uint64 &location, uint32 timeoutMS=5000) |
|
NetworkChannel * | createTCPConnection (uint64 location, uint8 encryption, uint8 protocol, bool isAsync, bool autoreconnect, uint32 channelID, NetworkReceiver *recv, uint64 &conid, uint32 timeoutMS=5000) |
|
NetworkChannel * | createTCPConnection (const uint32 *addresses, uint16 addressCount, uint16 port, uint8 encryption, uint8 protocol, bool isAsync, bool autoreconnect, uint32 channelID, NetworkReceiver *recv, uint64 &conid, uint64 &location, uint32 timeoutMS=5000) |
|
NetworkChannel * | createUDPConnection (uint16 port, uint8 protocol, bool isAsync, bool autoreconnect, uint32 channelID, NetworkReceiver *recv, uint64 &conid) |
|
NetworkChannel * | addTCPConnection (const char *addr, uint16 port, uint8 encryption, uint8 protocol, bool isAsync, uint32 channelID, NetworkReceiver *recv, uint64 &conid, uint64 &location, uint32 timeoutMS=5000, const char *greetingData=NULL, uint32 greetingSize=0) |
|
NetworkChannel * | addTCPConnection (uint64 location, uint8 encryption, uint8 protocol, bool isAsync, uint32 channelID, NetworkReceiver *recv, uint64 &conid, uint32 timeoutMS=5000, const char *greetingData=NULL, uint32 greetingSize=0) |
|
bool | stopListener (uint16 port, uint8 protocol) |
|
bool | endConnection (uint64 conid) |
|
bool | endUDPConnection (uint16 port) |
|
uint8 | getConnectionType (uint64 conid) |
|
uint64 | getRemoteAddress (uint64 conid) |
|
NetworkChannel * | getConnection (uint64 conid) |
|
NetworkChannel * | getTCPConnectionByPort (uint16 port) |
|
NetworkChannel * | getUDPConnectionByPort (uint16 port) |
|
uint64 | addConnection (NetworkChannel *channel) |
|
bool | sendUDPMessage (DataMessage *msg, uint64 destination) |
|
HTTPReply * | makeHTTPRequest (const char *url, uint32 timeout, const char *content=NULL, uint32 contentSize=0) |
|
HTTPReply * | makeHTTPRequest (HTTPRequest *req, const char *addr, uint16 port, uint8 encryption, uint32 timeout) |
|
virtual bool | stop (uint32 timeout=200) |
|