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

More...

#include <attribute_inquiry_answer.h>

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

Public Member Functions

 MessageAttributeInquiryAnswer (MinhtonMessageHeader header, NodeInfo inquired_node, std::unordered_map< std::string, NodeData::ValueAndType > attribute_values_and_types={}, std::vector< std::string > removed_attribute_keys={})
 
NodeInfo getInquiredNode () const
 
std::unordered_map< std::string, NodeData::ValueAndType > getAttributeValuesAndTypes () const
 
std::vector< std::string > getRemovedAttributeKeys () const
 
 SERIALIZE (header_, inquired_node_, attribute_values_and_types_, removed_attribute_keys_)
 
- Public Member Functions inherited from minhton::MinhtonMessage< MessageAttributeInquiryAnswer >
MinhtonMessageHeader getHeader () const
 
NodeInfo getSender () const
 
NodeInfo getTarget () const
 
void setTarget (NodeInfo new_target)
 
MessageAttributeInquiryAnswer getFullMessage () const
 

Detailed Description

Constructor & Destructor Documentation

◆ MessageAttributeInquiryAnswer()

minhton::MessageAttributeInquiryAnswer::MessageAttributeInquiryAnswer ( MinhtonMessageHeader  header,
NodeInfo  inquired_node,
std::unordered_map< std::string, NodeData::ValueAndType >  attribute_values_and_types = {},
std::vector< std::string >  removed_attribute_keys = {} 
)
Parameters
inquired_nodeNodeInfo of the current node that received the Attribute Inquiry Request
attribute_values_and_typesA map including the local data with timestamps and the information whether a value is static or dynamic.
removed_attribute_keysA vector of the keys for which their distributed data shall be removed.

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