LogCabin
Classes | Namespaces
RPC/ServiceMock.h File Reference
#include <cinttypes>
#include <google/protobuf/message.h>
#include <memory>
#include <queue>
#include "Core/ProtoBuf.h"
#include "RPC/Service.h"
#include "RPC/ServerRPC.h"

Go to the source code of this file.

Classes

class  LogCabin::RPC::ServiceMock
 This class is used to mock out a Service for testing a client that sends RPCs. More...
class  LogCabin::RPC::ServiceMock::Handler
 The base class for RPC handlers. More...
class  LogCabin::RPC::ServiceMock::CloseSession
 See closeSession(). More...
class  LogCabin::RPC::ServiceMock::Reply
 See reply(). More...
class  LogCabin::RPC::ServiceMock::ServiceSpecificError
 See serviceSpecificError(). More...
class  LogCabin::RPC::ServiceMock::RejectInvalidRequest
 See rejectInvalidRequest(). More...
struct  LogCabin::RPC::ServiceMock::Expected
 See responseQueue. More...

Namespaces

namespace  LogCabin
namespace  LogCabin::RPC
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines