LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions
LogCabin::Client::MockClientImpl Class Reference

A mock implementation of the client library that operates against a temporary, local, in-memory implementation. More...

#include <MockClientImpl.h>

Inheritance diagram for LogCabin::Client::MockClientImpl:
LogCabin::Client::ClientImpl

List of all members.

Public Member Functions

 MockClientImpl (std::shared_ptr< TestingCallbacks > callbacks)
 Constructor.
 ~MockClientImpl ()
 Destructor.
void initDerived ()
 Called by init() to do any necessary initialization of the derived class.
std::pair< uint64_t,
Configuration
getConfiguration ()
ConfigurationResult setConfiguration (uint64_t oldId, const Configuration &newConfiguration)

Private Member Functions

 MockClientImpl (const MockClientImpl &)
MockClientImploperator= (const MockClientImpl &)

Detailed Description

A mock implementation of the client library that operates against a temporary, local, in-memory implementation.

Definition at line 32 of file MockClientImpl.h.


Constructor & Destructor Documentation

LogCabin::Client::MockClientImpl::MockClientImpl ( std::shared_ptr< TestingCallbacks callbacks) [explicit]

Constructor.

Definition at line 160 of file MockClientImpl.cc.

Destructor.

Definition at line 165 of file MockClientImpl.cc.


Member Function Documentation

Called by init() to do any necessary initialization of the derived class.

Reimplemented from LogCabin::Client::ClientImpl.

Definition at line 170 of file MockClientImpl.cc.

Definition at line 175 of file MockClientImpl.cc.

ConfigurationResult LogCabin::Client::MockClientImpl::setConfiguration ( uint64_t  oldId,
const Configuration newConfiguration 
)

Definition at line 181 of file MockClientImpl.cc.

MockClientImpl& LogCabin::Client::MockClientImpl::operator= ( const MockClientImpl ) [private]

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