15 #ifndef PKG_RPC_RPC_SERVER_H_INCLUDED
16 #define PKG_RPC_RPC_SERVER_H_INCLUDED
41 virtual void Set(
const char* strResponse,
size_t nResponseSize) = 0;
A common result class usable as return value throughout.
Interface of an object that support remote calls.
virtual a_util::result::Result HandleCall(const char *strRequest, size_t nRequestSize, IResponse &oResponse)=0
Handles a remote call.
Interface for an RPC server that handles multiple RPC objects.
virtual a_util::result::Result UnregisterRPCObject(const char *strName)=0
Unregisters an RPC object.
virtual a_util::result::Result RegisterRPCObject(const char *strName, IRPCObject *pObject)=0
Register an RPC object.
Interface for returning a response to a remote call.
virtual void Set(const char *strResponse, size_t nResponseSize)=0
Sets the response data.
#define _MAKE_RESULT(_no, _label)
Create a result type and a constant instance of this type in an unnamed namespace.
Common include for component a_util::result.