MIRA
|
Provides binary client and server side requests and responses.
More...
#include <rpc/BinaryRPCBackend.h>
Classes | |
class | ClientRequest |
Binary client-side request. More... | |
class | ClientResponse |
Binary client-side response. More... | |
class | ServerRequest |
Binary server-side request. More... | |
class | ServerResponse |
Binary server-side response. More... | |
Public Types | |
enum | { BINARY_RPC_MARKER = 27 } |
typedef Buffer< uint8 > | ContainerType |
Provides binary client and server side requests and responses.
The RPC Request contains the following serialized items:
1 byte=27 // marks a binary request string callId string service RPCSignature Parameter 1 ... Parameter N *
The RPC Response contains the following serialized items:
1 byte=27 // marks a binary response string callId ReturnStatus::ReturnStatus status depending on status: [status == RETURN_VOID] . [status == RETURN_RESULT] Return value [status == RETURN_EXCEPTION] string exceptionMessage *
typedef Buffer<uint8> ContainerType |