![]() |
PhoenixSocket
1.0.0
Library which integrates socket unix use in Phoenix
|
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... | |
struct | PMockSocket |
Data to be used to handle the mock socket. More... | |
Functions | |
bool | phoenix_loadMockSocket (const std::string &prefix, const std::string &host, size_t port, PVecMockMessage &vecMessage) |
Load a mock of socket. | |
bool | phoenix_saveMockSocket (const std::string &prefix, const std::string &host, size_t port, const PVecMockMessage &vecMessage) |
Save a mock of socket. | |
bool phoenix_loadMockSocket | ( | const std::string & | prefix, |
const std::string & | host, | ||
size_t | port, | ||
PVecMockMessage & | vecMessage ) |
Load a mock of socket.
fileName | : file name of the mock to be loaded | |
[out] | vecMessage | : vector of message to be loaded |
Definition at line 17 of file PMockBackend.cpp.
bool phoenix_saveMockSocket | ( | const std::string & | prefix, |
const std::string & | host, | ||
size_t | port, | ||
const PVecMockMessage & | vecMessage ) |
Save a mock of socket.
fileName | : file name of the mock to be saved | |
[out] | vecMessage | : vector of message to be saved |
Definition at line 28 of file PMockBackend.cpp.