![]() |
|
PhoenixSocket
4.0.1
Library which integrates socket unix use in Phoenix
|
Include dependency graph for PMockBackend.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | PMockBackend |
| Backend to use Mock library with PAbtractSocket. More... | |
| struct | PMockParam |
| Set of parameters to be passed to create a socket with mock backend. More... | |
| class | PMockSocket |
| Example of a mock socket with vector of messages. More... | |
Functions | |
| bool | phoenix_createMockBackend (PMockSocket &mock, const PSocketParam &socketParam, const std::string &prefix="", const PMockParam &extraParam=PMockParam()) |
| Create a mock backend. | |
| bool phoenix_createMockBackend | ( | PMockSocket & | mock, |
| const PSocketParam & | socketParam, | ||
| const std::string & | prefix, | ||
| const PMockParam & | extraParam ) |
Create a mock backend.
| [out] | mock | : mock socket to be initialised |
| socketParam | : parameters of the socket (hostname, port, etc) | |
| prefix | : prefix of the mock file | |
| extraParam | : extra parameters of the mock configuration |
Definition at line 19 of file PMockBackend.cpp.
References PMockSocket::createClientSocket(), PMockSocket::setIsMockRecord(), and PMockSocket::setMockPrefix().
Here is the call graph for this function: