SOLA
Loading...
Searching...
No Matches
minhton
include
minhton
message
attribute_inquiry_request.h
1
// Copyright The SOLA Contributors
2
//
3
// Licensed under the MIT License.
4
// For details on the licensing terms, see the LICENSE file.
5
// SPDX-License-Identifier: MIT
6
7
#ifndef MINHTON_MESSAGE_ATTRIBUTE_INQUIRY_REQUEST_H_
8
#define MINHTON_MESSAGE_ATTRIBUTE_INQUIRY_REQUEST_H_
9
10
#include <vector>
11
12
#include "minhton/message/message.h"
13
#include "solanet/serializer/serialize.h"
14
15
namespace
minhton
{
20
class
MessageAttributeInquiryRequest
:
public
MinhtonMessage
<MessageAttributeInquiryRequest> {
21
public
:
26
explicit
MessageAttributeInquiryRequest
(
MinhtonMessageHeader
header,
bool
inquire_all =
false
,
27
std::vector<std::string> missing_keys = {});
28
29
bool
getInquireAll()
const
;
30
std::vector<std::string> getMissingKeys()
const
;
31
32
SERIALIZE(header_, missing_keys_, inquire_all_);
33
34
MessageAttributeInquiryRequest
() =
default
;
35
36
private
:
37
friend
MinhtonMessage
;
38
40
MinhtonMessageHeader
header_;
41
43
bool
validateImpl()
const
;
44
45
bool
inquire_all_ =
false
;
46
47
std::vector<std::string> missing_keys_;
48
};
49
}
// namespace minhton
50
51
#endif
minhton::MessageAttributeInquiryRequest
Usage: A node that is not a DSN may receive a MessageAttributeInquiryRequest during an ongoing Entity...
Definition
attribute_inquiry_request.h:20
minhton::MinhtonMessageHeader
Definition
message_header.h:24
minhton::MinhtonMessage
Definition
message.h:28
minhton
Definition
minhton_watchdog_ns3.cpp:24
Generated by
1.9.8