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

More...

#include <update_neighbors.h>

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

Public Member Functions

 MessageUpdateNeighbors (MinhtonMessageHeader header, NeighborsAndRelationships neighbors_and_relationships, bool should_acknowledge=false)
 
NeighborsAndRelationships getNeighborsToUpdate () const
 
bool getShouldAcknowledge () const
 
 SERIALIZE (header_, neighbors_and_relationships_, should_acknowledge_)
 
- Public Member Functions inherited from minhton::MinhtonMessage< MessageUpdateNeighbors >
MinhtonMessageHeader getHeader () const
 
NodeInfo getSender () const
 
NodeInfo getTarget () const
 
void setTarget (NodeInfo new_target)
 
MessageUpdateNeighbors getFullMessage () const
 

Detailed Description

Constructor & Destructor Documentation

◆ MessageUpdateNeighbors()

minhton::MessageUpdateNeighbors::MessageUpdateNeighbors ( MinhtonMessageHeader  header,
NeighborsAndRelationships  neighbors_and_relationships,
bool  should_acknowledge = false 
)
Parameters
neighbors_and_relationshipsVector of tuples of nodes and their neighbor relationship.
should_acknowledgeWhether an acknowledgement should be sent back.

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