![]() |
|
PhoenixZMQ
6.0.0
Library which integrates zeromq use
|
#include "PZmqBackend.h"
Include dependency graph for PZmqBackend.cpp:Go to the source code of this file.
Functions | |
| PRecvStatus::PRecvStatus | checkRecvStatus (zmq::recv_result_t res) |
| Check the recv result and convert it into PRecvStatus. | |
| PSendStatus::PSendStatus | checkSendStatus (zmq::send_result_t res) |
| Check the send result and convert it into PSendStatus. | |
| zmq::recv_flags | convertToRecvFlag (PRecvFlag::PRecvFlag flag) |
| Convert a recv flag into zmq flag. | |
| zmq::send_flags | convertToSendFlag (PSendFlag::PSendFlag flag) |
| Convert a send flag into zmq flag. | |
| PZmqParam | pzmq_createParamClient (int type, int nbBufferMessage, int bufferSizeByte, size_t threadAffinity, ssize_t dataRate) |
| Create param for a client socket. | |
| PZmqParam | pzmq_createParamServer (int type, int nbBufferMessage, int bufferSizeByte, size_t threadAffinity, ssize_t dataRate) |
| Create param for a client socket. | |
| PRecvStatus::PRecvStatus checkRecvStatus | ( | zmq::recv_result_t | res | ) |
Check the recv result and convert it into PRecvStatus.
| res | : result of the zmq recv |
ZMQ socket recv has a bit of a strange implementation:
Definition at line 46 of file PZmqBackend.cpp.
Referenced by PZmqSocket::recvMsg().
Here is the caller graph for this function:| PSendStatus::PSendStatus checkSendStatus | ( | zmq::send_result_t | res | ) |
Check the send result and convert it into PSendStatus.
| res | : result of the zmq send |
ZMQ socket send has a bit of a strange implementation:
Definition at line 20 of file PZmqBackend.cpp.
Referenced by PZmqSocket::sendMsg().
Here is the caller graph for this function:| zmq::recv_flags convertToRecvFlag | ( | PRecvFlag::PRecvFlag | flag | ) |
Convert a recv flag into zmq flag.
| flag | : generic PRecvFlag |
Definition at line 74 of file PZmqBackend.cpp.
Referenced by PZmqSocket::recvMsg().
Here is the caller graph for this function:| zmq::send_flags convertToSendFlag | ( | PSendFlag::PSendFlag | flag | ) |
Convert a send flag into zmq flag.
| flag | : generic PSendFlag |
Definition at line 65 of file PZmqBackend.cpp.
Referenced by PZmqSocket::sendMsg().
Here is the caller graph for this function:| PZmqParam pzmq_createParamClient | ( | int | type, |
| int | nbBufferMessage, | ||
| int | bufferSizeByte, | ||
| size_t | threadAffinity, | ||
| ssize_t | dataRate ) |
Create param for a client socket.
| context | : zmq context where to create socket |
| type | : type of the connection (ZMQ_PULL, ZMQ_PUSH, etc) |
| nbBufferMessage | : number of messages to be buffered |
| bufferSizeByte | : size of the zmq buffer in bytes |
| threadAffinity | : bit mask which determines which threads from the 0MQ I/O thread pool associated with the socket's context shall handle newly created connections (1 : means first, 2 : means second, 3 : means first and second, etc) |
| dataRate | : expected data rate (in kilobytes per second) |
Definition at line 88 of file PZmqBackend.cpp.
References PZmqParam::bufferSizeByte, PZmqParam::dataRate, PZmqParam::nbBufferMessage, PZmqParam::threadAffinity, and PZmqParam::type.
Referenced by PZmqBackend::client().
Here is the caller graph for this function:| PZmqParam pzmq_createParamServer | ( | int | type, |
| int | nbBufferMessage, | ||
| int | bufferSizeByte, | ||
| size_t | threadAffinity, | ||
| ssize_t | dataRate ) |
Create param for a client socket.
| type | : type of the connection (ZMQ_PULL, ZMQ_PUSH, etc) |
| nbBufferMessage | : number of messages to be buffered |
| bufferSizeByte | : size of the zmq buffer in bytes |
| threadAffinity | : bit mask which determines which threads from the 0MQ I/O thread pool associated with the socket's context shall handle newly created connections (1 : means first, 2 : means second, 3 : means first and second, etc) |
| dataRate | : expected data rate (in kilobytes per second) |
Definition at line 108 of file PZmqBackend.cpp.
References PZmqParam::bufferSizeByte, PZmqParam::dataRate, PZmqParam::nbBufferMessage, PZmqParam::threadAffinity, and PZmqParam::type.
Referenced by PZmqBackend::server().
Here is the caller graph for this function: