LogCabin
Classes | Namespaces | Enumerations | Functions
RPC/Protocol.h File Reference

This file contains the headers used in all high-level RPCs. More...

#include <cinttypes>
#include <ostream>

Go to the source code of this file.

Classes

struct  LogCabin::RPC::Protocol::RequestHeaderPrefix
 This is the first part of the request header that RPC clients send, common to all versions of the protocol. More...
struct  LogCabin::RPC::Protocol::RequestHeaderVersion1
 In version 1 of the protocol, this is the header format for requests from clients to servers. More...
struct  LogCabin::RPC::Protocol::ResponseHeaderPrefix
 This is the first part of the response header that servers send, common to all versions of the protocol. More...
struct  LogCabin::RPC::Protocol::ResponseHeaderVersion1
 In version 1 of the protocol, this is the header format for RPC responses. More...

Namespaces

namespace  LogCabin
namespace  LogCabin::RPC
namespace  LogCabin::RPC::Protocol

Enumerations

enum  LogCabin::RPC::Protocol::Status {
  LogCabin::RPC::Protocol::OK,
  LogCabin::RPC::Protocol::SERVICE_SPECIFIC_ERROR,
  LogCabin::RPC::Protocol::INVALID_VERSION,
  LogCabin::RPC::Protocol::INVALID_SERVICE,
  LogCabin::RPC::Protocol::INVALID_REQUEST
}
 The status codes returned in server responses. More...

Functions

::std::ostream & LogCabin::RPC::Protocol::operator<< (::std::ostream &stream, Status status)
 Output a Status to a stream. Improves gtest error messages.

Detailed Description

This file contains the headers used in all high-level RPCs.

Definition in file Protocol.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines