Public Member Functions
|WOscTcpServerHandler (WOscTcpServer *server)|
Protected Member Functions
|virtual void||ReceiveThread ()|
|WOscTcpServer *||GetServer ()|
|virtual void||HandleOffendingPackets (const char *const data, int dataLen, const WOscException &exception)|
|virtual void||HandleNonmatchedMessages (const WOscMessage *msg, const WOscNetReturn *networkReturnAddress)|
Threading, self deleting connection handler. For each client connection a handler gets spawned an is run in a separate thread.
|virtual void WOscTcpServerHandler::HandleNonmatchedMessages||(||const WOscMessage *||msg,|
|const WOscNetReturn *||networkReturnAddress|
Handler for OSC messages which didn't match any address in the OSC address space. The user can define an own action by overriding this pure virtual function.
|msg||Pointer to Message which hasn't been processed.|
|networkReturnAddress||Network address of the sender of this message.|
|virtual void WOscTcpServerHandler::HandleOffendingPackets||(||const char *const||data,|
|const WOscException &||exception|
Handler for packets which caused either an internal exception or another error. The user can decide what to do with such packets by overriding this function.
|data||Pointer to the buffer containing the offending packet data.|
|dataLen||Lenght of the buffer containg the offending packet data.|
|exception||Exception which has been generated during processing this packet.|