PhoenixSwarm
5.2.0
Library to ease communication between daemons
Toggle main menu visibility
Loading...
Searching...
No Matches
DaemonEmptyBackend.h
Go to the documentation of this file.
1
/***************************************
2
Auteur : Pierre Aubert
3
Mail : pierre.aubert@lapp.in2p3.fr
4
Licence : CeCILL-C
5
****************************************/
6
7
#ifndef __DAEMON_EMPTY_BACKEND_H__
8
#define __DAEMON_EMPTY_BACKEND_H__
9
10
#include "PString.h"
11
#include "PClockNs.h"
12
#include "PGenericSocketManager.h"
13
#include "phoenix_clock.h"
14
16
struct
DaemonEmptyBackend
{
18
typedef
PEmptySocketGenerator
SocketBackend
;
20
typedef
PMockSocketGenerator
SocketMock
;
21
23
PGenericSocketManager<PString, SocketBackend, SocketMock>
socketManager
;
25
PGenericClock<PClockNs, PClockMock>
clock
;
27
SocketBackend::Param
extraServerParam
;
29
SocketBackend::Param
extraClientParam
;
31
SocketMock::Param
extraMockServerParam
;
33
SocketMock::Param
extraMockClientParam
;
34
};
35
36
37
#endif
38
DaemonEmptyBackend
Simple, default backend of the Daemon to manage Socket and Clock.
Definition
DaemonEmptyBackend.h:16
DaemonEmptyBackend::SocketBackend
PEmptySocketGenerator SocketBackend
Define the socket backend.
Definition
DaemonEmptyBackend.h:18
DaemonEmptyBackend::socketManager
PGenericSocketManager< PString, SocketBackend, SocketMock > socketManager
Socket manager with no official backend.
Definition
DaemonEmptyBackend.h:23
DaemonEmptyBackend::clock
PGenericClock< PClockNs, PClockMock > clock
Clock backend.
Definition
DaemonEmptyBackend.h:25
DaemonEmptyBackend::extraMockServerParam
SocketMock::Param extraMockServerParam
Extra parameters used by the current Daemon to create its socket for mock.
Definition
DaemonEmptyBackend.h:31
DaemonEmptyBackend::SocketMock
PMockSocketGenerator SocketMock
Define the socket mock.
Definition
DaemonEmptyBackend.h:20
DaemonEmptyBackend::extraClientParam
SocketBackend::Param extraClientParam
Extra parameters used by the current Daemon to create sockets to communicate with other Daemon.
Definition
DaemonEmptyBackend.h:29
DaemonEmptyBackend::extraMockClientParam
SocketMock::Param extraMockClientParam
Extra parameters used by the current Daemon to create sockets to communicate with other Daemon for mo...
Definition
DaemonEmptyBackend.h:33
DaemonEmptyBackend::extraServerParam
SocketBackend::Param extraServerParam
Extra parameters used by the current Daemon to create its socket.
Definition
DaemonEmptyBackend.h:27
src
Daemon
DaemonEmptyBackend.h
Generated by
1.17.0