![]() |
|
PhoenixSwarm
5.1.1
Library to ease communication between daemons
|
#include <iostream>#include "swarm_mock_daemon.h"
Include dependency graph for main.cpp:Go to the source code of this file.
Functions | |
| void | createDaemon (const PPath &fileName, const PString &daemonName) |
| Create and run the Daemon. | |
| void | createMockFileMainRecv (const PString &hostName, size_t port, const PString &prefix) |
| Create the mock file to be used by the Daemon. | |
| void | createMockFileMainSend (const PString &hostName, size_t port, const PString &prefix) |
| Create the mock file fo the test Daemon. | |
| int | main (int argc, char **argv) |
| void | testBaseDaemonLoadConfig (const PPath &fileName) |
| Test the load configuration of a Daemon. | |
| void createDaemon | ( | const PPath & | fileName, |
| const PString & | daemonName ) |
Create and run the Daemon.
| fileName | : name of the configuration toml file |
| daemonName | : name of the daemon of the current test |
Definition at line 71 of file main.cpp.
| void createMockFileMainRecv | ( | const PString & | hostName, |
| size_t | port, | ||
| const PString & | prefix ) |
Create the mock file to be used by the Daemon.
| hostName | : name of the host |
| port | : port to be used |
| prefix | : prefix of the mock file of the current test |
Definition at line 56 of file main.cpp.
References MessageType::STOP.
| void createMockFileMainSend | ( | const PString & | hostName, |
| size_t | port, | ||
| const PString & | prefix ) |
Create the mock file fo the test Daemon.
| hostName | : name of the host |
| port | : port to be used |
| prefix | : prefix of the mock file of the current test |
Definition at line 34 of file main.cpp.
References phoenix_createData(), and MessageType::RESULT_DATA.
Here is the call graph for this function:| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 94 of file main.cpp.
References testBaseDaemonLoadConfig().
Here is the call graph for this function:| void testBaseDaemonLoadConfig | ( | const PPath & | fileName | ) |
Test the load configuration of a Daemon.
| fileName | : name of the configuration toml file |
Definition at line 84 of file main.cpp.
References createDaemon(), createMockFileMainRecv(), and createMockFileMainSend().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function: