1#if !defined(XmlRpcConnection_hxx)
2#define XmlRpcConnection_hxx
40 const unsigned int mConnectionId;
41 static std::atomic<unsigned int> NextConnectionId;
42 unsigned int mNextRequestId;
62 bool processSomeReads();
63 bool processSomeWrites();
71#ifdef BUILD_QPID_PROTON
79 std::shared_ptr<resip::ProtonThreadBase::ProtonSenderBase>
sender);
94 std::shared_ptr<resip::ProtonThreadBase::ProtonSenderBase> mSender;
Handles cross-platform sockets compatibility.
virtual bool sendResponse(unsigned int requestId, const resip::Data &responseData, bool isFinal)
virtual void sendResponse(const resip::Data &response)=0
std::map< unsigned int, resip::Data > RequestMap
virtual bool process(resip::FdSet &fdset)=0
virtual void sendEvent(const resip::Data &eventData)=0
virtual void buildFdSet(resip::FdSet &fdset)=0
unsigned int getConnectionId() const
unsigned int getNextRequestId()
XmlRpcServerBase & mXmlRcpServer
virtual ~XmlRpcConnectionBase()
virtual void sendResponse(const resip::Data &response)
virtual ~XmlRpcSocketConnection()
virtual bool process(resip::FdSet &fdset)
virtual void buildFdSet(resip::FdSet &fdset)
virtual void sendEvent(const resip::Data &eventData)
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Object-oriented wrapper for your platform's file-descriptor set.
This Class is used to implement a primitive form of RPC using loose XML formatting.