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

More...

#include <find_replacement.h>

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

Public Member Functions

 MessageFindReplacement (MinhtonMessageHeader header, NodeInfo node_to_replace, SearchProgress search_progress=SearchProgress::kNone, uint16_t hop_count=0)
 
NodeInfo getNodeToReplace () const
 
SearchProgress getSearchProgress () const
 
uint16_t getHopCount () const
 
 SERIALIZE (header_, node_to_replace_, search_progress_, hop_count_)
 
- Public Member Functions inherited from minhton::MinhtonMessage< MessageFindReplacement >
MinhtonMessageHeader getHeader () const
 
NodeInfo getSender () const
 
NodeInfo getTarget () const
 
void setTarget (NodeInfo new_target)
 
MessageFindReplacement getFullMessage () const
 

Detailed Description

Constructor & Destructor Documentation

◆ MessageFindReplacement()

minhton::MessageFindReplacement::MessageFindReplacement ( MinhtonMessageHeader  header,
NodeInfo  node_to_replace,
SearchProgress  search_progress = SearchProgress::kNone,
uint16_t  hop_count = 0 
)
Parameters
node_to_replaceThe node that wants to leave the network.
search_progressRepresents the procedure progress for differentiating the phases.
hop_countHow often a MessageFindReplacement has been sent during this leave procedure so far.

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