LogCabin
Classes | Namespaces | Enumerations
Protocol/Common.h File Reference

This file contains declarations useful to all LogCabin RPCs. More...

#include <cstdint>

Go to the source code of this file.

Classes

struct  LogCabin::Protocol::Common::VersionMessage::Request
struct  LogCabin::Protocol::Common::VersionMessage::Response

Namespaces

namespace  LogCabin
namespace  LogCabin::Protocol
namespace  LogCabin::Protocol::Common
namespace  LogCabin::Protocol::Common::VersionMessage
 

Defines request and response types for messages sent using ID VERSION_MESSAGE_ID, used to check which versions of the MessageSocket framing protocol the server supports.


namespace  LogCabin::Protocol::Common::ServiceId

Enumerations

enum  { LogCabin::Protocol::Common::DEFAULT_PORT }
 The default TCP port on which LogCabin servers serve RPCs. More...
enum  {
  LogCabin::Protocol::Common::PING_MESSAGE_ID,
  LogCabin::Protocol::Common::VERSION_MESSAGE_ID
}
 Reserved MessageSocket::MessageID values. More...
enum  { LogCabin::Protocol::Common::MAX_MESSAGE_LENGTH }
 The maximum number of bytes per RPC request or response, including these headers. More...
enum  {
  LogCabin::Protocol::Common::ServiceId::CLIENT_SERVICE,
  LogCabin::Protocol::Common::ServiceId::RAFT_SERVICE,
  LogCabin::Protocol::Common::ServiceId::CONTROL_SERVICE
}

Detailed Description

This file contains declarations useful to all LogCabin RPCs.

Definition in file Common.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines