0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Attributes | List of all members
Hypertable::ConnectionManager::ConnectionState Class Reference

Per-connection state. More...

Collaboration diagram for Hypertable::ConnectionManager::ConnectionState:
Collaboration graph
[legend]

Public Attributes

CommAddress addr
 Connection address supplied to the add methods. More...
 
CommAddress local_addr
 Local address to bind to. More...
 
InetAddr inet_addr
 Address initialized from Event object. More...
 
uint32_t timeout_ms
 Retry connection attempt after this many milliseconds. More...
 
DispatchHandlerPtr handler
 Registered connection handler. More...
 
ConnectionInitializerPtr initializer
 Connection initializer. More...
 
State state
 Connection state. More...
 
std::mutex mutex
 Mutex to serialize concurrent access. More...
 
std::condition_variable cond
 Condition variable used to signal connection state change. More...
 
std::chrono::steady_clock::time_point next_retry
 Absolute time of next connect attempt. More...
 
std::string service_name
 Service name of connection for log messages. More...
 

Detailed Description

Per-connection state.

Definition at line 71 of file ConnectionManager.h.

Member Data Documentation

CommAddress Hypertable::ConnectionManager::ConnectionState::addr

Connection address supplied to the add methods.

Definition at line 74 of file ConnectionManager.h.

std::condition_variable Hypertable::ConnectionManager::ConnectionState::cond

Condition variable used to signal connection state change.

Definition at line 90 of file ConnectionManager.h.

DispatchHandlerPtr Hypertable::ConnectionManager::ConnectionState::handler

Registered connection handler.

Definition at line 82 of file ConnectionManager.h.

InetAddr Hypertable::ConnectionManager::ConnectionState::inet_addr

Address initialized from Event object.

Definition at line 78 of file ConnectionManager.h.

ConnectionInitializerPtr Hypertable::ConnectionManager::ConnectionState::initializer

Connection initializer.

Definition at line 84 of file ConnectionManager.h.

CommAddress Hypertable::ConnectionManager::ConnectionState::local_addr

Local address to bind to.

Definition at line 76 of file ConnectionManager.h.

std::mutex Hypertable::ConnectionManager::ConnectionState::mutex

Mutex to serialize concurrent access.

Definition at line 88 of file ConnectionManager.h.

std::chrono::steady_clock::time_point Hypertable::ConnectionManager::ConnectionState::next_retry

Absolute time of next connect attempt.

Definition at line 92 of file ConnectionManager.h.

std::string Hypertable::ConnectionManager::ConnectionState::service_name

Service name of connection for log messages.

Definition at line 94 of file ConnectionManager.h.

State Hypertable::ConnectionManager::ConnectionState::state

Connection state.

Definition at line 86 of file ConnectionManager.h.

uint32_t Hypertable::ConnectionManager::ConnectionState::timeout_ms

Retry connection attempt after this many milliseconds.

Definition at line 80 of file ConnectionManager.h.


The documentation for this class was generated from the following file: