cluck
1.0.1
The cluster lock service.
daemon
message_cache.h
Go to the documentation of this file.
1
// Copyright (c) 2016-2025 Made to Order Software Corp. All Rights Reserved
2
//
3
// https://snapwebsites.org/project/cluck
4
// contact@m2osw.com
5
//
6
// This program is free software: you can redistribute it and/or modify
7
// it under the terms of the GNU General Public License as published by
8
// the Free Software Foundation, either version 3 of the License, or
9
// (at your option) any later version.
10
//
11
// This program is distributed in the hope that it will be useful,
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
// GNU General Public License for more details.
15
//
16
// You should have received a copy of the GNU General Public License
17
// along with this program. If not, see <https://www.gnu.org/licenses/>.
18
#pragma once
19
20
// cluck
21
//
22
#include <
cluck/cluck.h
>
23
24
25
// eventdispatcher
26
//
27
#include <eventdispatcher/message.h>
28
29
30
31
namespace
cluck_daemon
32
{
33
34
35
36
struct
message_cache
37
{
38
typedef
std::list<message_cache>
list_t
;
39
40
cluck::timeout_t
f_timeout
=
cluck::timeout_t
();
41
ed::message
f_message
= ed::message();
42
};
43
44
45
46
}
// namespace cluck_daemon
47
// vim: ts=4 sw=4 et
cluck.h
cluck_daemon
Definition
cluckd.cpp:136
cluck::timeout_t
snapdev::timespec_ex timeout_t
A timeout delay.
Definition
cluck.h:80
cluck_daemon::message_cache
Definition
message_cache.h:37
cluck_daemon::message_cache::list_t
std::list< message_cache > list_t
Definition
message_cache.h:38
cluck_daemon::message_cache::f_message
ed::message f_message
Definition
message_cache.h:41
cluck_daemon::message_cache::f_timeout
cluck::timeout_t f_timeout
Definition
message_cache.h:40
This document is part of the
Snap! Websites Project
.
Copyright by
Made to Order Software Corp.