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

Echo request handler. More...

#include <server/pv/responseHandlers.h>

Inherits epics::pvAccess::AbstractServerResponseHandler.

Public Member Functions

 ServerEchoHandler (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

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

Detailed Description

Echo request handler.

Definition at line 82 of file responseHandlers.h.

Member Function Documentation

◆ handleResponse()

virtual void epics::pvAccess::ServerEchoHandler::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: