LogCabin
|
A mock implementation of the client library that operates against a temporary, local, in-memory implementation. More...
#include <MockClientImpl.h>
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 &) | |
MockClientImpl & | operator= (const MockClientImpl &) |
A mock implementation of the client library that operates against a temporary, local, in-memory implementation.
Definition at line 32 of file MockClientImpl.h.
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.
LogCabin::Client::MockClientImpl::MockClientImpl | ( | const MockClientImpl & | ) | [private] |
void LogCabin::Client::MockClientImpl::initDerived | ( | ) | [virtual] |
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.
std::pair< uint64_t, Configuration > LogCabin::Client::MockClientImpl::getConfiguration | ( | ) |
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] |