LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Public Attributes
LogCabin::Client::GetConfigurationResult Struct Reference

Returned by Cluster::getConfiguration2(). More...

#include <Client.h>

List of all members.

Public Types

enum  Status {
  OK,
  TIMEOUT
}

Public Member Functions

 GetConfigurationResult ()
 ~GetConfigurationResult ()

Public Attributes

enum
LogCabin::Client::GetConfigurationResult::Status 
status
uint64_t configuration
 If status is OK, identifies the configuration.
Configuration servers
 If status is OK, the list of servers in the configuration.
std::string error
 Error message, if status is not OK.

Detailed Description

Returned by Cluster::getConfiguration2().

Since:
LogCabin v1.2.0

Definition at line 139 of file Client.h.


Member Enumeration Documentation

Enumerator:
OK 

The operation succeeded.

TIMEOUT 

The call could not be completed in the requested timeframe.

Definition at line 143 of file Client.h.


Constructor & Destructor Documentation

Definition at line 86 of file Client.cc.

Definition at line 94 of file Client.cc.


Member Data Documentation

If status is OK, identifies the configuration.

Pass this to setConfiguration later.

Definition at line 158 of file Client.h.

If status is OK, the list of servers in the configuration.

Definition at line 163 of file Client.h.

Error message, if status is not OK.

Definition at line 168 of file Client.h.


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