pvAccessCPP
7.1.7
|
Interface defining response handler. More...
#include <remote/pv/remote.h>
Public Types | |
typedef std::tr1::shared_ptr < ResponseHandler > | shared_pointer |
typedef std::tr1::shared_ptr < const ResponseHandler > | const_shared_pointer |
typedef std::tr1::weak_ptr < ResponseHandler > | weak_pointer |
typedef std::tr1::weak_ptr < const ResponseHandler > | const_weak_pointer |
Public Member Functions | |
ResponseHandler (Context *context, const std::string &description) | |
virtual void | handleResponse (osiSockAddr *responseFrom, Transport::shared_pointer const &transport, epics::pvData::int8 version, epics::pvData::int8 command, std::size_t payloadSize, epics::pvData::ByteBuffer *payloadBuffer) |
Handle response. More... | |
Static Public Attributes | |
static size_t | num_instances |
Protected Attributes | |
std::string | _description |
Response hanlder description. | |
epics::pvData::int32 | _debugLevel |
Debug flag. | |
|
virtual |
Handle response.
[in] | responseFrom | remote address of the responder, 0 if unknown. |
[in] | transport | response source transport. |
[in] | version | message version. |
[in] | payloadSize | size of this message data available in the payloadBuffer . |
[in] | payloadBuffer | message payload data. Note that this might not be the only message in the buffer. Code must not manipulate buffer. |
Reimplemented in epics::pvAccess::ServerResponseHandler, epics::pvAccess::ServerRPCHandler, epics::pvAccess::ServerGetFieldHandler, epics::pvAccess::ServerProcessHandler, epics::pvAccess::ServerCancelRequestHandler, epics::pvAccess::ServerDestroyRequestHandler, epics::pvAccess::ServerArrayHandler, epics::pvAccess::ServerMonitorHandler, epics::pvAccess::ServerPutGetHandler, epics::pvAccess::ServerPutHandler, epics::pvAccess::ServerGetHandler, epics::pvAccess::ServerDestroyChannelHandler, epics::pvAccess::ServerCreateChannelHandler, epics::pvAccess::ServerSearchHandler, epics::pvAccess::ServerEchoHandler, epics::pvAccess::ServerConnectionValidationHandler, and epics::pvAccess::ServerBadResponse.