PhoenixSocket  1.0.0
Library which integrates socket unix use in Phoenix
Loading...
Searching...
No Matches
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.
 
bool isMockRecord
 True to record the activity of the backend durring real use to make reusable mock.
 
std::string mockPrefix
 Prefix where to find/save mock files.
 
size_t port
 Connection port.
 

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.

◆ 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::close(), PMockBackend::createClientSocket(), PMockBackend::recv(), PMockBackend::send(), and PMockBackend::setIsMockRecord().

◆ mockPrefix

std::string PMockParam::mockPrefix

Prefix where to find/save mock files.

Definition at line 22 of file PMockBackend.h.

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

◆ port

size_t PMockParam::port

Connection port.

Definition at line 18 of file PMockBackend.h.


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