| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*************************************** | ||
| 2 | Auteur : Thibaut Oprinsen | ||
| 3 | Mail : thibaut.oprinsen@example.com | ||
| 4 | Licence : CeCILL-C | ||
| 5 | ****************************************/ | ||
| 6 | |||
| 7 | #include "DaemonBackend.h" | ||
| 8 | |||
| 9 | /// @brief Constructor setting the zmq socket type | ||
| 10 |
1/1✓ Branch 0 (3→4) taken 3 times.
|
3 | DaemonBackend::DaemonBackend(){ |
| 11 | 3 | extraServerParam.type = ZMQ_PULL; | |
| 12 | 3 | extraServerParam.nbBufferMessage = 10000; | |
| 13 | 3 | extraServerParam.bufferSizeByte = 1000000; | |
| 14 | 3 | extraServerParam.threadAffinity = 0lu; | |
| 15 | 3 | extraServerParam.dataRate = 200000l; | |
| 16 | // client | ||
| 17 | 3 | extraClientParam.type = ZMQ_PUSH; | |
| 18 | 3 | extraClientParam.nbBufferMessage = 10000; | |
| 19 | 3 | extraClientParam.bufferSizeByte = 1000000; | |
| 20 | 3 | extraClientParam.threadAffinity = 0lu; | |
| 21 | 3 | extraClientParam.dataRate = 200000l; | |
| 22 | 3 | } | |
| 23 | |||
| 24 | /// @brief Empty destructor | ||
| 25 | 3 | DaemonBackend::~DaemonBackend(){} | |
| 26 | |||
| 27 |