SOLA
Loading...
Searching...
No Matches
minhton
include
minhton
message
unlock_neighbor.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_UNLOCK_NEIGHBOR_H_
8
#define MINHTON_MESSAGE_UNLOCK_NEIGHBOR_H_
9
10
#include "minhton/message/message.h"
11
#include "solanet/serializer/serialize.h"
12
13
namespace
minhton
{
17
class
MessageUnlockNeighbor
:
public
MinhtonMessage
<MessageUnlockNeighbor> {
18
public
:
19
explicit
MessageUnlockNeighbor
(
MinhtonMessageHeader
header);
20
21
SERIALIZE(header_);
22
23
MessageUnlockNeighbor
() =
default
;
24
25
private
:
26
friend
MinhtonMessage
;
27
29
MinhtonMessageHeader
header_;
30
32
bool
validateImpl()
const
;
33
};
34
}
// namespace minhton
35
36
#endif
minhton::MessageUnlockNeighbor
Usage: Used for unlocking nodes after they were locked during a concurrent operation like leave.
Definition
unlock_neighbor.h:17
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