pvAccessCPP  7.1.5
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
epics::pvAccess::ServerResponseHandler Class Reference

PVAS request handler - main handler which dispatches requests to appropriate handlers. More...

#include <server/pv/responseHandlers.h>

Inheritance diagram for epics::pvAccess::ServerResponseHandler:
Inheritance graph
[legend]
Collaboration diagram for epics::pvAccess::ServerResponseHandler:
Collaboration graph
[legend]

Public Member Functions

 ServerResponseHandler (ServerContextImpl::shared_pointer const &context)
 
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...
 
 POINTER_DEFINITIONS (ResponseHandler)
 

Static Public Attributes

static size_t num_instances
 

Protected Attributes

std::string _description
 Response hanlder description.
 
epics::pvData::int32 _debugLevel
 Debug flag.
 

Detailed Description

PVAS request handler - main handler which dispatches requests to appropriate handlers.

Definition at line 801 of file responseHandlers.h.

Member Function Documentation

◆ handleResponse()

virtual void epics::pvAccess::ServerResponseHandler::handleResponse ( osiSockAddr *  responseFrom,
Transport::shared_pointer const &  transport,
epics::pvData::int8  version,
epics::pvData::int8  command,
std::size_t  payloadSize,
epics::pvData::ByteBuffer *  payloadBuffer 
)
virtual

Handle response.

Parameters
[in]responseFromremote address of the responder, 0 if unknown.
[in]transportresponse source transport.
[in]versionmessage version.
[in]payloadSizesize of this message data available in the payloadBuffer.
[in]payloadBuffermessage payload data. Note that this might not be the only message in the buffer. Code must not manipulate buffer.

Reimplemented from epics::pvAccess::ResponseHandler.


The documentation for this class was generated from the following file: