Inherited by ClientDataHandler.
Public Member Functions | |
virtual void | processClientData (Client &client, const std::string &data)=0 |
Callback method to notify new data was received. |
virtual void AbstractClientDataHandler::processClientData | ( | Client & | client, | |
const std::string & | data | |||
) | [pure virtual] |
This class notifies there is new data received from client and it must be handled. The provided string is the raw data block, it can be not bounded to line end, so handler must wait next one until it will be sure the complete string is received.
[in] | client | The client object data was received from |
[in] | data | The received data |