LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
LogCabin::RPC::Protocol::ResponseHeaderVersion1 Struct Reference

In version 1 of the protocol, this is the header format for RPC responses. More...

#include <Protocol.h>

List of all members.

Public Member Functions

void fromBigEndian ()
 Convert the contents to host order from big endian (how this header should be transferred on the network).
void toBigEndian ()
 Convert the contents to big endian (how this header should be transferred on the network) from host order.

Public Attributes

ResponseHeaderPrefix prefix
 This is common to all versions of the protocol.

Detailed Description

In version 1 of the protocol, this is the header format for RPC responses.

Definition at line 182 of file Protocol.h.


Member Function Documentation

Convert the contents to host order from big endian (how this header should be transferred on the network).

This is just here for completeness, as this header has no fields of its own.

Warning:
This does not modify prefix.

Definition at line 90 of file Protocol.cc.

Convert the contents to big endian (how this header should be transferred on the network) from host order.

This is just here for completeness, as this header has no fields of its own.

Warning:
This does not modify prefix.

Definition at line 96 of file Protocol.cc.


Member Data Documentation

This is common to all versions of the protocol.

RPC clients can always expect to receive this and RPC servers must always send this.

Definition at line 204 of file Protocol.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines