Overview Tutorial API reference Examples Build Download | ZmqMessage 0.1 - 21 Oct 2011 |
#include <ZmqMessage.hpp>
Public Member Functions | |
OutOptions (zmq::socket_t &sock_p, unsigned options_p) | |
Public Attributes | |
zmq::socket_t & | sock |
unsigned | options |
Static Public Attributes | |
static const unsigned | NONBLOCK = 0x1 |
static const unsigned | CACHE_ON_BLOCK = 0x2 |
static const unsigned | DROP_ON_BLOCK = 0x4 |
static const unsigned | COPY_INCOMING = 0x8 |
static const unsigned | EMULATE_BLOCK_SENDS = 0x10 |
static const unsigned | BINARY_MODE = 0x20 |
This struct holds both reference to socket and options. Needed for convenient creation of Outgoing
class.
zasync.cpp, and zqueue.cpp.
ZmqMessage::OutOptions::OutOptions | ( | zmq::socket_t & | sock_p, | |
unsigned | options_p | |||
) | [inline] |
const unsigned ZmqMessage::OutOptions::BINARY_MODE = 0x20 [static] |
const unsigned ZmqMessage::OutOptions::CACHE_ON_BLOCK = 0x2 [static] |
cache messages on would-block sends
const unsigned ZmqMessage::OutOptions::COPY_INCOMING = 0x8 [static] |
All messages (inc. routing) taken from incoming are copied
const unsigned ZmqMessage::OutOptions::DROP_ON_BLOCK = 0x4 [static] |
drop messages on would-block sends instead of rethrowing exceptions
const unsigned ZmqMessage::OutOptions::EMULATE_BLOCK_SENDS = 0x10 [static] |
Debug use only. Emulate blocking on all sends!
const unsigned ZmqMessage::OutOptions::NONBLOCK = 0x1 [static] |
send nonblockingly
unsigned ZmqMessage::OutOptions::options |
zmq::socket_t& ZmqMessage::OutOptions::sock |