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

More...

#include <replacement_ack.h>

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

Classes

struct  LockedStates
 

Public Member Functions

 MessageReplacementAck (MinhtonMessageHeader header, std::vector< minhton::NodeInfo > neighbors, LockedStates lockedStates)
 
std::vector< minhton::NodeInfogetNeighbors () const
 
LockedStates getLockedStates () const
 
 SERIALIZE (header_, neighbors_, locked_, locked_right_, locked_left_)
 
- Public Member Functions inherited from minhton::MinhtonMessage< MessageReplacementAck >
MinhtonMessageHeader getHeader () const
 
NodeInfo getSender () const
 
NodeInfo getTarget () const
 
void setTarget (NodeInfo new_target)
 
MessageReplacementAck getFullMessage () const
 

Detailed Description

Constructor & Destructor Documentation

◆ MessageReplacementAck()

minhton::MessageReplacementAck::MessageReplacementAck ( MinhtonMessageHeader  header,
std::vector< minhton::NodeInfo neighbors,
LockedStates  lockedStates 
)
Parameters
neighborsA vector of all neighbors the leaving node has information about.
lockedStatesA struct tracking the lock state of this node, its right neighbor, and its left neighbor.

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