MIRA
Classes | Public Types | List of all members
BinaryRPCBackendTempl< BinaryFormatVersion > Class Template Reference


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
 

Detailed Description

template<uint8 BinaryFormatVersion>
class mira::BinaryRPCBackendTempl< BinaryFormatVersion >


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
* 

Member Typedef Documentation

◆ ContainerType

typedef Buffer<uint8> ContainerType

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
BINARY_RPC_MARKER 

The documentation for this class was generated from the following file: