- Usage: Informing a node about a new or updated neighbor. Used mainly in the join accept and leave procedure. The relationship of how to update the node has to be given.
More...
#include <update_neighbors.h>
- Usage: Informing a node about a new or updated neighbor. Used mainly in the join accept and leave procedure. The relationship of how to update the node has to be given.
- Algorithm Association: Updates & Response.
◆ MessageUpdateNeighbors()
minhton::MessageUpdateNeighbors::MessageUpdateNeighbors |
( |
MinhtonMessageHeader |
header, |
|
|
NeighborsAndRelationships |
neighbors_and_relationships, |
|
|
bool |
should_acknowledge = false |
|
) |
| |
- Parameters
-
neighbors_and_relationships | Vector of tuples of nodes and their neighbor relationship. |
should_acknowledge | Whether an acknowledgement should be sent back. |
The documentation for this class was generated from the following files:
- minhton/include/minhton/message/update_neighbors.h
- minhton/src/message/update_neighbors.cpp