This is the dispatch handler that gets installed as the default handler for the TCP connection.
More...
This is the dispatch handler that gets installed as the default handler for the TCP connection.
It queues up responses that can be fetched by the application via a call to GetResponse() GetResponse() returns false when the connection is disconnected.
Definition at line 122 of file sampleClient.cc.
virtual void ResponseHandlerTCP::handle |
( |
EventPtr & |
event_ptr | ) |
|
|
inlinevirtual |
Callback method.
When the Comm layer needs to deliver an event to the application, this method is called to do so. The set of event types include, CONNECTION_ESTABLISHED, DISCONNECT, MESSAGE, ERROR, and TIMER.
- Parameters
-
event_ptr | smart pointer to Event object |
Implements ResponseHandler.
Definition at line 128 of file sampleClient.cc.