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

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

#include <PZmqBackend.h>

Public Attributes

std::string address
 Host address. More...
 
int bufferSizeByte
 Size of the message buffer in bytes. More...
 
zmq::context_t * context
 Context. More...
 
ssize_t dataRate
 Data rate. More...
 
int nbBufferMessage
 Number of messages in the buffer. More...
 
size_t port
 Connection port. More...
 
size_t threadAffinity
 Mask of threads which deal with reconnection. More...
 
int type
 Socket type. More...
 

Detailed Description

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

Definition at line 15 of file PZmqBackend.h.

Member Data Documentation

◆ address

std::string PZmqParam::address

Host address.

Definition at line 19 of file PZmqBackend.h.

Referenced by PZmqBackend::createClientSocket(), pzmq_createParamClient(), and pzmq_createParamServer().

◆ bufferSizeByte

int PZmqParam::bufferSizeByte

Size of the message buffer in bytes.

Definition at line 27 of file PZmqBackend.h.

Referenced by PZmqBackend::createClientSocket(), PZmqBackend::createServerSocket(), pzmq_createParamClient(), and pzmq_createParamServer().

◆ context

zmq::context_t* PZmqParam::context

◆ dataRate

ssize_t PZmqParam::dataRate

◆ nbBufferMessage

int PZmqParam::nbBufferMessage

Number of messages in the buffer.

Definition at line 25 of file PZmqBackend.h.

Referenced by PZmqBackend::createClientSocket(), PZmqBackend::createServerSocket(), pzmq_createParamClient(), and pzmq_createParamServer().

◆ port

size_t PZmqParam::port

◆ threadAffinity

size_t PZmqParam::threadAffinity

Mask of threads which deal with reconnection.

Definition at line 29 of file PZmqBackend.h.

Referenced by PZmqBackend::createClientSocket(), PZmqBackend::createServerSocket(), pzmq_createParamClient(), and pzmq_createParamServer().

◆ type

int PZmqParam::type

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