|
enum | State {
S_INIT,
S_HANDSHAKE_SENT,
S_HANDSHAKE_WAIT,
S_HANDSHAKE_RESPONSE_SENT,
S_OK,
S_FAILED,
S_CLOSED
} |
|
|
void | set_state (State new_state) |
|
State | state () const |
|
| Proto (int v, SocketPtr tp, const std::string &local_addr, const std::string &remote_addr, const std::string &mcast_addr, const gcomm::UUID &local_uuid, uint8_t local_segment, const std::string &group_name) |
|
void | send_msg (const Message &msg) |
|
void | send_handshake () |
|
void | wait_handshake () |
|
void | handle_handshake (const Message &hs) |
|
void | handle_handshake_response (const Message &hs) |
|
void | handle_ok (const Message &hs) |
|
void | handle_failed (const Message &hs) |
|
void | handle_topology_change (const Message &msg) |
|
void | handle_keepalive (const Message &msg) |
|
void | send_topology_change (LinkMap &um) |
|
void | handle_message (const Message &msg) |
|
void | send_keepalive () |
|
const gcomm::UUID & | handshake_uuid () const |
|
const gcomm::UUID & | local_uuid () const |
|
const gcomm::UUID & | remote_uuid () const |
|
uint8_t | remote_segment () const |
|
SocketPtr | socket () const |
|
const std::string & | remote_addr () const |
|
const std::string & | mcast_addr () const |
|
const LinkMap & | link_map () const |
|
bool | changed () |
|
int | version () const |
|
void | set_tstamp (gu::datetime::Date ts) |
|
gu::datetime::Date | tstamp () const |
|
|
static std::string | to_string (State s) |
|
|
std::ostream & | operator<< (std::ostream &, const Proto &) |
|
The documentation for this class was generated from the following file:
- /wrkdirs/usr/ports/databases/galera/work/galera-25.3.5-src/gcomm/src/gmcast_proto.hpp