SOLA
Loading...
Searching...
No Matches
minhton
include
minhton
message
replacement_nack.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_NACK_H_
8
#define MINHTON_MESSAGE_REPLACEMENT_NACK_H_
9
10
#include "minhton/message/message.h"
11
#include "solanet/serializer/serialize.h"
12
13
namespace
minhton
{
19
class
MessageReplacementNack
:
public
MinhtonMessage
<MessageReplacementNack> {
20
public
:
21
explicit
MessageReplacementNack
(
MinhtonMessageHeader
header);
22
23
SERIALIZE(header_);
24
25
MessageReplacementNack
() =
default
;
26
27
private
:
28
friend
MinhtonMessage
;
29
31
MinhtonMessageHeader
header_;
32
34
bool
validateImpl()
const
;
35
};
36
}
// namespace minhton
37
38
#endif
minhton::MessageReplacementNack
Usage: A MessageReplacementNack is sent back to the node to replace in case of a failure during the l...
Definition
replacement_nack.h:19
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