12 #define epicsExportSharedSymbols 21 size_t ResponseHandler::num_instances;
23 ResponseHandler::ResponseHandler(
Context* context,
const std::string& description)
24 :_description(description)
25 ,_debugLevel(context->getConfiguration()->getPropertyAsInteger(
PVACCESS_DEBUG, 0))
36 Transport::shared_pointer
const & transport,
int8 version,
int8 command,
37 size_t payloadSize,
ByteBuffer* payloadBuffer) {
43 <<
int(version)<<
"] received from "<<ipAddrStr<<
" on "<<transport->getRemoteName()
static size_t num_instances
epics::pvData::int32 _debugLevel
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)
virtual ~ResponseHandler()
epicsShareExtern const std::string PVACCESS_DEBUG
TODO only here because of the Lockable.
HexDump & limit(size_t n=(size_t)-1)
safety limit on max bytes printed
This class implements a Bytebuffer that is like the java.nio.ByteBuffer.
unsigned epicsStdCall ipAddrToDottedIP(const struct sockaddr_in *paddr, char *pBuf, unsigned bufSize)