|
| Proto (gu::Config &conf, const UUID &uuid, SegmentId segment, const gu::URI &uri=gu::URI("pc://")) |
|
const UUID & | uuid () const |
|
bool | prim () const |
|
void | set_prim (const bool val) |
|
void | mark_non_prim () |
|
const ViewId & | last_prim () const |
|
void | set_last_prim (const ViewId &vid) |
|
uint32_t | last_seq () const |
|
void | set_last_seq (const uint32_t seq) |
|
int64_t | to_seq () const |
|
void | set_to_seq (const int64_t seq) |
|
void | set_weight (int weight) |
|
const View & | current_view () const |
|
const UUID & | self_id () const |
|
State | state () const |
|
void | shift_to (State) |
|
void | send_state () |
|
void | send_install (bool bootstrap, int weight=-1) |
|
void | handle_first_trans (const View &) |
|
void | handle_trans (const View &) |
|
void | handle_reg (const View &) |
|
void | handle_msg (const Message &, const Datagram &, const ProtoUpMeta &) |
|
void | handle_up (const void *, const Datagram &, const ProtoUpMeta &) |
|
int | handle_down (Datagram &, const ProtoDownMeta &) |
|
void | connect (bool first) |
|
void | close (bool force=false) |
|
void | handle_view (const View &) |
|
bool | set_param (const std::string &key, const std::string &val) |
|
void | set_mtu (size_t mtu) |
|
size_t | mtu () const |
|
virtual void | close (const UUID &uuid) |
|
void | set_up_context (Protolay *up) |
|
void | set_down_context (Protolay *down) |
|
void | unset_up_context (Protolay *up) |
|
void | unset_down_context (Protolay *down) |
|
void | send_up (const Datagram &dg, const ProtoUpMeta &up_meta) |
|
int | send_down (Datagram &dg, const ProtoDownMeta &down_meta) |
|
virtual void | handle_stable_view (const View &view) |
|
void | set_stable_view (const View &view) |
|
virtual gu::datetime::Date | handle_timers () |
|
const Protolay * | id () const |
|