SOLA
Loading...
Searching...
No Matches
Public Member Functions | List of all members
minhton::MessageJoinAccept Class Reference

More...

#include <join_accept.h>

Inheritance diagram for minhton::MessageJoinAccept:
minhton::MinhtonMessage< MessageJoinAccept >

Public Member Functions

 MessageJoinAccept (MinhtonMessageHeader header, uint16_t fanout, NodeInfo adjacent_left, NodeInfo adjacent_right, std::vector< NodeInfo > routing_table_neighbors)
 
uint16_t getFanout () const
 
NodeInfo getAdjacentLeft () const
 
NodeInfo getAdjacentRight () const
 
std::vector< NodeInfogetRoutingTableNeighbors () const
 
 SERIALIZE (header_, fanout_, adjacent_left_, adjacent_right_, routing_table_neighbors_)
 
- Public Member Functions inherited from minhton::MinhtonMessage< MessageJoinAccept >
MinhtonMessageHeader getHeader () const
 
NodeInfo getSender () const
 
NodeInfo getTarget () const
 
void setTarget (NodeInfo new_target)
 
MessageJoinAccept getFullMessage () const
 

Detailed Description

Constructor & Destructor Documentation

◆ MessageJoinAccept()

minhton::MessageJoinAccept::MessageJoinAccept ( MinhtonMessageHeader  header,
uint16_t  fanout,
NodeInfo  adjacent_left,
NodeInfo  adjacent_right,
std::vector< NodeInfo routing_table_neighbors 
)
Parameters
fanoutFanout of the entire network.
adjacent_leftAdjacent left neighbor of the new child. Might be left empty if the new child has no adjacent left.
adjacent_rightAdjacent right neighbor of the new child. Might be left empty if the new child has no adjacent right.
routing_table_neighborsA vector of all existing routing table neighbors on the same level.

The documentation for this class was generated from the following files: