SOLA
|
Public Member Functions | |
LeaveAlgorithmInterface (std::shared_ptr< AccessContainer > access) | |
void | process (const MessageVariant &msg) override=0 |
virtual void | initiateSelfDeparture ()=0 |
virtual bool | canLeaveWithoutReplacement ()=0 |
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) | |
Static Public Member Functions | |
static std::vector< MessageType > | getSupportedMessageTypes () |
Additional Inherited Members | |
Protected Member Functions inherited from minhton::AlgorithmInterface | |
void | send (const MessageVariant &msg) |
std::shared_ptr< RoutingInformation > | getRoutingInfo () const |
NodeInfo | getSelfNodeInfo () const |
Protected Attributes inherited from minhton::AlgorithmInterface | |
std::shared_ptr< AccessContainer > | access_ |
|
pure virtual |
Implemented in minhton::MinhtonLeaveAlgorithm.
|
pure virtual |
Implemented in minhton::MinhtonLeaveAlgorithm, and minhton::LeaveAlgorithmGeneral.
|
overridepure virtual |
Implements minhton::AlgorithmInterface.