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

More...

#include <subscription_order.h>

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

Public Member Functions

 MessageSubscriptionOrder (MinhtonMessageHeader header, std::vector< NodeData::Key > keys, bool subscribe=false)
 
std::vector< NodeData::Key > getKeys () const
 
bool getSubscribe () const
 
 SERIALIZE (header_, keys_, subscribe_)
 
- Public Member Functions inherited from minhton::MinhtonMessage< MessageSubscriptionOrder >
MinhtonMessageHeader getHeader () const
 
NodeInfo getSender () const
 
NodeInfo getTarget () const
 
void setTarget (NodeInfo new_target)
 
MessageSubscriptionOrder getFullMessage () const
 

Detailed Description

Constructor & Destructor Documentation

◆ MessageSubscriptionOrder()

minhton::MessageSubscriptionOrder::MessageSubscriptionOrder ( MinhtonMessageHeader  header,
std::vector< NodeData::Key >  keys,
bool  subscribe = false 
)
Parameters
keysMultiple keys for which the node wants to change its subscription.
subscribeTrue subscribes the node to the specified keys, False unsubscribes the node.

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