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

More...

#include <remove_and_update_neighbor.h>

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

Public Member Functions

 MessageRemoveAndUpdateNeighbors (MinhtonMessageHeader header, MessageRemoveNeighbor remove_msg, MessageUpdateNeighbors update_msg, bool should_acknowledge=false)
 
MessageRemoveNeighbor getMessageRemoveNeighbor () const
 
MessageUpdateNeighbors getMessageUpdateNeighbors () const
 
bool getShouldAcknowledge () const
 
 SERIALIZE (header_, remove_msg_, update_msg_, should_acknowledge_)
 
- Public Member Functions inherited from minhton::MinhtonMessage< MessageRemoveAndUpdateNeighbors >
MinhtonMessageHeader getHeader () const
 
NodeInfo getSender () const
 
NodeInfo getTarget () const
 
void setTarget (NodeInfo new_target)
 
MessageRemoveAndUpdateNeighbors getFullMessage () const
 

Detailed Description

Constructor & Destructor Documentation

◆ MessageRemoveAndUpdateNeighbors()

minhton::MessageRemoveAndUpdateNeighbors::MessageRemoveAndUpdateNeighbors ( MinhtonMessageHeader  header,
MessageRemoveNeighbor  remove_msg,
MessageUpdateNeighbors  update_msg,
bool  should_acknowledge = false 
)
Parameters
remove_msgA MessageRemoveNeighbor with information about which neighbor needs to be removed from the routing information.
update_msgA MessageUpdateNeighbors with information about which neighbors needs to be updated from the routing information.
should_acknowledgeWhether the receiving node needs to answer with an acknowledgement or not.

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