- Usage: The node that wants to leave the network receives a MessageReplacementOffer from a node that is willing to replace its position. As a response, the leaving node sends all of its necessary information in the MessageReplacementAck to the replacing node. After this message was sent, the node can finally leave the network.
More...
#include <replacement_ack.h>
- Usage: The node that wants to leave the network receives a MessageReplacementOffer from a node that is willing to replace its position. As a response, the leaving node sends all of its necessary information in the MessageReplacementAck to the replacing node. After this message was sent, the node can finally leave the network.
- Algorithm Association: Leave.
◆ MessageReplacementAck()
- Parameters
-
neighbors | A vector of all neighbors the leaving node has information about. |
lockedStates | A struct tracking the lock state of this node, its right neighbor, and its left neighbor. |
The documentation for this class was generated from the following files:
- minhton/include/minhton/message/replacement_ack.h
- minhton/src/message/replacement_ack.cpp