SOLA
Loading...
Searching...
No Matches
minhton
include
minhton
message
replacement_offer.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_REPLACEMENT_OFFER_H_
8
#define MINHTON_MESSAGE_REPLACEMENT_OFFER_H_
9
10
#include "minhton/message/message.h"
11
#include "solanet/serializer/serialize.h"
12
13
namespace
minhton
{
18
class
MessageReplacementOffer
:
public
MinhtonMessage
<MessageReplacementOffer> {
19
public
:
20
explicit
MessageReplacementOffer
(
MinhtonMessageHeader
header);
21
22
SERIALIZE(header_);
23
24
MessageReplacementOffer
() =
default
;
25
26
private
:
27
friend
MinhtonMessage
;
28
30
MinhtonMessageHeader
header_;
31
33
bool
validateImpl()
const
;
34
};
35
}
// namespace minhton
36
37
#endif
minhton::MessageReplacementOffer
Usage: A MessageFindReplacement reached a node that can replace the leaving node. The node sends a Me...
Definition
replacement_offer.h:18
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