SOLA
|
Public Member Functions | |
MinhtonLeaveAlgorithmForTest (std::shared_ptr< AccessContainer > access) | |
Public Member Functions inherited from minhton::MinhtonLeaveAlgorithm | |
MinhtonLeaveAlgorithm (std::shared_ptr< AccessContainer > access) | |
bool | canLeaveWithoutReplacement () override |
void | initiateSelfDeparture () override |
Public Member Functions inherited from minhton::LeaveAlgorithmGeneral | |
LeaveAlgorithmGeneral (std::shared_ptr< AccessContainer > access) | |
void | process (const MessageVariant &msg) override |
Public Member Functions inherited from minhton::LeaveAlgorithmInterface | |
LeaveAlgorithmInterface (std::shared_ptr< AccessContainer > access) | |
virtual void | replaceMyself (const NodeInfo &node_to_replace, std::vector< NodeInfo > neighbors_of_node_to_replace)=0 |
Public Member Functions inherited from minhton::AlgorithmInterface | |
AlgorithmInterface (std::shared_ptr< AccessContainer > access) | |
Additional Inherited Members | |
Static Public Member Functions inherited from minhton::LeaveAlgorithmInterface | |
static std::vector< MessageType > | getSupportedMessageTypes () |
Protected Member Functions inherited from minhton::MinhtonLeaveAlgorithm | |
void | processFindReplacement (const minhton::MessageFindReplacement &message) override |
void | performFindReplacement () |
void | performFindReplacement (const MessageFindReplacement &msg) |
Protected Member Functions inherited from minhton::LeaveAlgorithmGeneral | |
void | processReplacementOffer (const minhton::MessageReplacementOffer &message) |
void | processSignOffParentRequest (const minhton::MessageSignoffParentRequest &message) |
void | processSignOffParentAnswer (const minhton::MessageSignoffParentAnswer &message) |
void | processReplacementAck (const minhton::MessageReplacementAck &message) |
void | processLockNeighborRequest (const minhton::MessageLockNeighborRequest &message) |
void | processLockNeighborResponse (const minhton::MessageLockNeighborResponse &message) |
void | processRemoveNeighborAck () |
void | processReplacementUpdate (const minhton::MessageReplacementUpdate &message) |
void | performLeaveWithoutReplacement () |
void | performLeaveWithReplacement (minhton::NodeInfo leaving_node, std::vector< minhton::NodeInfo > neighbors_of_leaving_node, bool leaving_node_was_locked, bool leaving_node_locked_right, bool leaving_node_locked_left) |
void | prepareLeavingAsSuccessor (const minhton::NodeInfo &node_to_replace) |
void | signOffFromParent () |
uint32_t | signOffFromNeighborsAndAdjacents () |
void | processUpdateForwardAck () |
void | sendReplacementOffer () |
void | sendNackToReplacement (uint64_t ref_event_id) |
void | replaceMyself (const minhton::NodeInfo &node_to_replace, std::vector< minhton::NodeInfo > neighbors_of_node_to_replace) override |
void | processReceiveSignoffNeighborAdjacentsAck () |
void | processReceiveReplacementUpdateAck () |
void | processUnlockNeighbor (const MessageUnlockNeighbor &msg) |
Protected Member Functions inherited from minhton::AlgorithmInterface | |
void | send (const MessageVariant &msg) |
std::shared_ptr< RoutingInformation > | getRoutingInfo () const |
NodeInfo | getSelfNodeInfo () const |
Static Protected Member Functions inherited from minhton::LeaveAlgorithmGeneral | |
static minhton::NodeInfo | getAdjacentLeftFromVector (const minhton::NodeInfo &considered_node, std::vector< minhton::NodeInfo > neighbors) |
static minhton::NodeInfo | getAdjacentRightFromVector (const minhton::NodeInfo &considered_node, std::vector< minhton::NodeInfo > neighbors) |
Protected Attributes inherited from minhton::LeaveAlgorithmGeneral | |
minhton::NodeInfo | replacing_node_ |
uint64_t | leaving_event_id_ = 0 |
bool | in_leave_progress_ = false |
bool | locked_right_neighbor_ = false |
bool | locked_left_neighbor_ = false |
uint32_t | remaining_lock_neighbor_response_ = 0 |
std::shared_ptr< minhton::MessageSignoffParentRequest > | current_signoff_request_ = nullptr |
std::shared_ptr< minhton::MessageReplacementUpdate > | last_replacement_update_ = nullptr |
NodeInfo | old_parent_ |
Protected Attributes inherited from minhton::AlgorithmInterface | |
std::shared_ptr< AccessContainer > | access_ |