PhoenixSwarm  5.1.1
Library to ease communication between daemons
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
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
Simple, default backend of the Daemon to manage Socket and Clock.
PEmptySocketGenerator SocketBackend
Define the socket backend.
PGenericSocketManager< PString, SocketBackend, SocketMock > socketManager
Socket manager with no official backend.
PGenericClock< PClockNs, PClockMock > clock
Clock backend.
SocketMock::Param extraMockServerParam
Extra parameters used by the current Daemon to create its socket for mock.
PMockSocketGenerator SocketMock
Define the socket mock.
SocketBackend::Param extraClientParam
Extra parameters used by the current Daemon to create sockets to communicate with other Daemon.
SocketMock::Param extraMockClientParam
Extra parameters used by the current Daemon to create sockets to communicate with other Daemon for mo...
SocketBackend::Param extraServerParam
Extra parameters used by the current Daemon to create its socket.