Request parameters for register server operation.
More...
#include <RegisterServer.h>
Request parameters for register server operation.
Definition at line 47 of file RegisterServer.h.
Hypertable::Lib::Master::Request::Parameters::RegisterServer::RegisterServer |
( |
| ) |
|
|
inline |
Constructor.
Empty initialization for decoding.
Definition at line 52 of file RegisterServer.h.
Hypertable::Lib::Master::Request::Parameters::RegisterServer::RegisterServer |
( |
const std::string & |
location, |
|
|
uint16_t |
listen_port, |
|
|
bool |
lock_held, |
|
|
StatsSystem & |
system_stats |
|
) |
| |
|
inline |
Constructor.
Initializes with parameters for encoding.
- Parameters
-
location | Location (proxy name) |
listen_port | Listen port |
lock_held | Lock held flag |
system_stats | System stats |
Definition at line 60 of file RegisterServer.h.
void RegisterServer::decode_internal |
( |
uint8_t |
version, |
|
|
const uint8_t ** |
bufp, |
|
|
size_t * |
remainp |
|
) |
| |
|
overrideprivatevirtual |
Reads serialized representation of object from a buffer.
- Parameters
-
version | Encoding version |
bufp | Address of destination buffer pointer (advanced by call) |
remainp | Address of integer holding amount of serialized object remaining |
- See also
- encode_internal() for encoding format
Implements Hypertable::Serializable.
Definition at line 85 of file RegisterServer.cc.
void RegisterServer::encode_internal |
( |
uint8_t ** |
bufp | ) |
const |
|
overrideprivatevirtual |
Writes serialized representation of object to a buffer.
- Parameters
-
bufp | Address of destination buffer pointer (advanced by call) |
Encoding is as follows:
Encoding | Description |
vstr | Location (proxy name) |
i16 | Listen port |
bool | Lock held flag |
StatsSystem | System statistics |
i64 | Current time (nanoseconds since Epoch) |
Implements Hypertable::Serializable.
Definition at line 77 of file RegisterServer.cc.
size_t RegisterServer::encoded_length_internal |
( |
| ) |
const |
|
overrideprivatevirtual |
uint8_t RegisterServer::encoding_version |
( |
| ) |
const |
|
overrideprivatevirtual |
uint16_t Hypertable::Lib::Master::Request::Parameters::RegisterServer::listen_port |
( |
| ) |
|
|
inline |
const string& Hypertable::Lib::Master::Request::Parameters::RegisterServer::location |
( |
| ) |
const |
|
inline |
Gets location (proxy name)
- Returns
- Location (proxy name)
Definition at line 67 of file RegisterServer.h.
bool Hypertable::Lib::Master::Request::Parameters::RegisterServer::lock_held |
( |
| ) |
|
|
inline |
Gets lock held flag.
- Returns
- Lock held flag
Definition at line 75 of file RegisterServer.h.
int64_t Hypertable::Lib::Master::Request::Parameters::RegisterServer::now |
( |
| ) |
|
|
inline |
Gets server current time.
- Returns
- Server current time
Definition at line 83 of file RegisterServer.h.
const StatsSystem& Hypertable::Lib::Master::Request::Parameters::RegisterServer::system_stats |
( |
| ) |
const |
|
inline |
uint16_t Hypertable::Lib::Master::Request::Parameters::RegisterServer::m_listen_port |
|
private |
string Hypertable::Lib::Master::Request::Parameters::RegisterServer::m_location |
|
private |
bool Hypertable::Lib::Master::Request::Parameters::RegisterServer::m_lock_held |
|
private |
int64_t Hypertable::Lib::Master::Request::Parameters::RegisterServer::m_now |
|
private |
StatsSystem Hypertable::Lib::Master::Request::Parameters::RegisterServer::m_system_stats |
|
private |
The documentation for this class was generated from the following files:
- /home/doug/src/hypertable/src/cc/Hypertable/Lib/Master/Request/Parameters/RegisterServer.h
- /home/doug/src/hypertable/src/cc/Hypertable/Lib/Master/Request/Parameters/RegisterServer.cc