§ RemoteKeeper()
| identt::hrpc::RemoteKeeper::RemoteKeeper |
( |
identt::utils::SharedTable::pointer |
s | ) |
|
§ AddHost() [1/2]
| void identt::hrpc::RemoteKeeper::AddHost |
( |
identt::hrpc::RemoteT * |
rms | ) |
|
AddHost : add a single host.
- Parameters
-
| rms | identt::hrpc::RemoteT* rms |
- Returns
- none
§ AddHost() [2/2]
| void identt::hrpc::RemoteKeeper::AddHost |
( |
std::string |
name, |
|
|
uint64_t |
logcounter, |
|
|
uint64_t |
updated_at |
|
) |
| |
AddHost : add a single host.
- Parameters
-
| name | std::string name |
| logcounter | uint64_t logcounter |
| updated_at | uint64_t updated_at |
- Returns
- none
§ GetHosts()
| void identt::hrpc::RemoteKeeper::GetHosts |
( |
identt::hrpc::StateT * |
state | ) |
|
GetHosts : get params and list of hosts.
- Parameters
-
| state | identt::hrpc::StateT* state |
- Returns
- none
§ HostUpdate()
| void identt::hrpc::RemoteKeeper::HostUpdate |
( |
| ) |
|
HostUpdate: update all hosts.
HostUpdate : update hosts with latest.
- Returns
- none
§ MasterUpdate()
| void identt::hrpc::RemoteKeeper::MasterUpdate |
( |
uint64_t |
cutoff | ) |
|
MasterUpdate: elect the master based on info received after cutoff.
- Parameters
-
- Returns
- none
§ SetHosts()
| void identt::hrpc::RemoteKeeper::SetHosts |
( |
identt::hrpc::StateT * |
state | ) |
|
SetHosts : get list of hosts.
SetHosts : set list of hosts.
- Parameters
-
| state | identt::hrpc::StateT* state |
- Returns
- none
The documentation for this class was generated from the following files: