PhoenixSwarm  3.5.0
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 "PGenericSocketManager.h"
12#include "phoenix_clock.h"
13
17 typedef PEmptyBackend SocketBackend;
19 typedef PMockBackend SocketMock;
20
22 PGenericSocketManager<PString, SocketBackend, SocketMock> socketManager;
24 PGenericClock<PClockNsBackend, PClockMock> clock;
26 SocketBackend::Param extraServerParam;
28 SocketBackend::Param extraClientParam;
30 SocketMock::Param extraMockServerParam;
32 SocketMock::Param extraMockClientParam;
33};
34
35
36#endif
37
Simple, default backend of the Daemon to manage Socket and Clock.
PGenericClock< PClockNsBackend, PClockMock > clock
Clock backend.
PMockBackend SocketMock
Define the socket mock.
PGenericSocketManager< PString, SocketBackend, SocketMock > socketManager
Socket manager with no official backend.
SocketMock::Param extraMockServerParam
Extra parameters used by the current Daemon to create its socket for 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...
PEmptyBackend SocketBackend
Define the socket backend.
SocketBackend::Param extraServerParam
Extra parameters used by the current Daemon to create its socket.