PhoenixZMQ  2.0.0
Library which integrates zeromq use in Phoenix
PMockParam Struct Reference

Set of parameters to be passed to create a socket with mock backend. More...

#include <PMockBackend.h>

Public Attributes

std::string address
 Host address. More...
 
bool isMockRecord
 True to record the activity of the backend durring real use to make reusable mock. More...
 
std::string mockDirectory
 Directory where to find/save mock files. More...
 
size_t port
 Connection port. More...
 

Detailed Description

Set of parameters to be passed to create a socket with mock backend.

Definition at line 14 of file PMockBackend.h.

Member Data Documentation

◆ address

std::string PMockParam::address

Host address.

Definition at line 16 of file PMockBackend.h.

Referenced by PMockBackend::client(), and PMockBackend::createClientSocket().

◆ isMockRecord

bool PMockParam::isMockRecord

True to record the activity of the backend durring real use to make reusable mock.

Definition at line 20 of file PMockBackend.h.

Referenced by PMockBackend::client(), PMockBackend::close(), PMockBackend::createClientSocket(), PMockBackend::recv(), and PMockBackend::send().

◆ mockDirectory

std::string PMockParam::mockDirectory

Directory where to find/save mock files.

Definition at line 22 of file PMockBackend.h.

Referenced by PMockBackend::client(), and PMockBackend::createClientSocket().

◆ port

size_t PMockParam::port

Connection port.

Definition at line 18 of file PMockBackend.h.

Referenced by PMockBackend::client(), and PMockBackend::createClientSocket().


The documentation for this struct was generated from the following file: