Qore zmq Module  1.0.0
Qore::ZMQ Namespace Reference

ZMQ namespace. More...

Classes

class  ZContext
 The ZContext class implements a ZeroMQ context. More...
 
class  ZFrame
 The ZFrame class implements a ZeroMQ frame. More...
 
hashdecl  ZmqCurveKeyInfo
 ZeroMQ CURVE key info hash. More...
 
hashdecl  ZmqPollInfo
 ZeroMQ poll info hash. More...
 
hashdecl  ZmqVersionInfo
 ZeroMQ library version info hash. More...
 
class  ZMsg
 The ZMsg class implements a ZeroMQ message. More...
 
class  ZSocket
 The ZSocket class provides the abstract base class for ZeroMQ socket classes. More...
 
class  ZSocketDealer
 The ZSocketDealer class implements a ZeroMQ DEALER socket. More...
 
class  ZSocketPair
 The ZSocketPair class implements a ZeroMQ PAIR socket for the "exclusive pair" socket pattern. More...
 
class  ZSocketPub
 The ZSocketPub class implements a ZeroMQ PUB socket. More...
 
class  ZSocketPull
 The ZSocketPull class implements a ZeroMQ PULL socket. More...
 
class  ZSocketPush
 The ZSocketPush class implements a ZeroMQ PUSH socket. More...
 
class  ZSocketRep
 The ZSocketRep class implements a ZeroMQ REP socket. More...
 
class  ZSocketReq
 The ZSocketReq class implements a ZeroMQ REQ socket. More...
 
class  ZSocketRouter
 The ZSocketRouter class implements a ZeroMQ ROUTER socket. More...
 
class  ZSocketStream
 The ZSocketStream class implements a ZeroMQ STREAM socket. More...
 
class  ZSocketSub
 The ZSocketSub class implements a ZeroMQ SUB socket. More...
 
class  ZSocketXPub
 The ZSocketXPub class implements a ZeroMQ XPUB socket. More...
 
class  ZSocketXSub
 The ZSocketXSub class implements a ZeroMQ XSUB socket. More...
 

Functions

hash< Qore::ZMQ::ZmqCurveKeyInfozmq_curve_keypair ()
 generates a random secret and public key for Curve and returns this information in a hash More...
 
string zmq_curve_public (string secret)
 generate a Curve public key from a secret/private key More...
 
hash< Qore::ZMQ::ZmqVersionInfozmq_version ()
 returns a hash of ZeroMQ library information More...
 
string zmq_z85_encode (binary data)
 returns a string in Z85 printable format corresponding to the given binary value with a length divisible by 4 More...
 

Variables

const ZMQ_BLOCKY = ZMQ_BLOCKY
 Fix blocky behavior. More...
 
const ZMQ_IO_THREADS = ZMQ_IO_THREADS
 Set number of I/O threads. More...
 
const ZMQ_MAX_MSGSZ = ZMQ_MAX_MSGSZ
 Set maximum message size. More...
 
const ZMQ_MAX_SOCKETS = ZMQ_MAX_SOCKETS
 Set maximum number of sockets. More...
 
const ZMQ_POLLIN = ZMQ_POLLIN
 for polling for read events
 
const ZMQ_POLLOUT = ZMQ_POLLOUT
 for polling for write events
 
const ZMQ_EVENT_ACCEPTED = 0x0020
 accepted event More...
 
const ZMQ_EVENT_ACCEPT_FAILED = 0x0040
 accept failed event More...
 
const ZMQ_EVENT_ALL = 0xFFFF
 mask for all events
 
const ZMQ_EVENT_BIND_FAILED = 0x0010
 bind failed event More...
 
const ZMQ_EVENT_CLOSED = 0x0080
 closed event More...
 
const ZMQ_EVENT_CLOSE_FAILED = 0x0100
 close failed event More...
 
const ZMQ_EVENT_CONNECTED = 0x0001
 connected event More...
 
const ZMQ_EVENT_CONNECT_DELAYED = 0x0002
 delayed event More...
 
const ZMQ_EVENT_CONNECT_RETRIED = 0x0004
 retried event More...
 
const ZMQ_EVENT_DISCONNECTED = 0x0200
 disconnected event More...
 
const ZMQ_EVENT_LISTENING = 0x0008
 listening event More...
 
const ZMQ_EVENT_MONITOR_STOPPED = 0x0400
 monitor stopped event More...
 
const ZmqEventCodeMap
 ZeroMQ event map mapping event codes to strings.
 
const ZmqEventStringMap
 ZeroMQ event map mapping strings to event codes.
 
const ZMQ_AFFINITY = ZMQ_AFFINITY
 Set I/O thread affinity. More...
 
const ZMQ_BACKLOG = ZMQ_BACKLOG
 Set maximum length of the queue of outstanding connections. More...
 
const ZMQ_CONFLATE = ZMQ_CONFLATE
 Keep only last message. More...
 
const ZMQ_CONNECT_RID = ZMQ_CONNECT_RID
 Assign the next outbound connection id. More...
 
const ZMQ_CONNECT_TIMEOUT = ZMQ_CONNECT_TIMEOUT
 Set connect timeout. More...
 
const ZMQ_CURVE_PUBLICKEY = ZMQ_CURVE_PUBLICKEY
 Set CURVE public key. More...
 
const ZMQ_CURVE_SECRETKEY = ZMQ_CURVE_SECRETKEY
 Set CURVE secret key. More...
 
const ZMQ_CURVE_SERVER = ZMQ_CURVE_SERVER
 Set CURVE server role. More...
 
const ZMQ_CURVE_SERVERKEY = ZMQ_CURVE_SERVERKEY
 Set CURVE server key. More...
 
const ZMQ_GSSAPI_PLAINTEXT = ZMQ_GSSAPI_PLAINTEXT
 Disable GSSAPI encryption. More...
 
const ZMQ_GSSAPI_PRINCIPAL = ZMQ_GSSAPI_PRINCIPAL
 Set name of GSSAPI principal. More...
 
const ZMQ_GSSAPI_SERVER = ZMQ_GSSAPI_SERVER
 Set GSSAPI server role. More...
 
const ZMQ_GSSAPI_SERVICE_PRINCIPAL = ZMQ_GSSAPI_SERVICE_PRINCIPAL
 Set name of GSSAPI service principal. More...
 
const ZMQ_HANDSHAKE_IVL = ZMQ_HANDSHAKE_IVL
 Set maximum handshake interval. More...
 
const ZMQ_HEARTBEAT_IVL = ZMQ_HEARTBEAT_IVL
 Set interval between sending ZMTP heartbeats. More...
 
const ZMQ_HEARTBEAT_TIMEOUT = ZMQ_HEARTBEAT_TIMEOUT
 Set timeout for ZMTP heartbeats. More...
 
const ZMQ_HEARTBEAT_TTL = ZMQ_HEARTBEAT_TTL
 Set the TTL value for ZMTP heartbeats. More...
 
const ZMQ_IDENTITY = ZMQ_IDENTITY
 Set socket identity. More...
 
const ZMQ_IMMEDIATE = ZMQ_IMMEDIATE
 Queue messages only to completed connections. More...
 
const ZMQ_INVERT_MATCHING = ZMQ_INVERT_MATCHING
 Invert message filtering. More...
 
const ZMQ_IPV6 = ZMQ_IPV6
 Enable IPv6 on socket. More...
 
const ZMQ_LINGER = ZMQ_LINGER
 Set linger period for socket shutdown. More...
 
const ZMQ_MAXMSGSIZE = ZMQ_MAXMSGSIZE
 Maximum acceptable inbound message size. More...
 
const ZMQ_MULTICAST_HOPS = ZMQ_MULTICAST_HOPS
 Maximum network hops for multicast packets. More...
 
const ZMQ_MULTICAST_MAXTPDU = ZMQ_MULTICAST_MAXTPDU
 Maximum transport data unit size for multicast packets. More...
 
const ZMQ_PLAIN_PASSWORD = ZMQ_PLAIN_PASSWORD
 Set PLAIN security password. More...
 
const ZMQ_PLAIN_SERVER = ZMQ_PLAIN_SERVER
 Set PLAIN server role. More...
 
const ZMQ_PLAIN_USERNAME = ZMQ_PLAIN_USERNAME
 Set PLAIN security username. More...
 
const ZMQ_PROBE_ROUTER = ZMQ_PROBE_ROUTER
 bootstrap connections to ROUTER sockets More...
 
const ZMQ_RATE = ZMQ_RATE
 Set multicast data rate. More...
 
const ZMQ_RCVBUF = ZMQ_RCVBUF
 Set kernel receive buffer size. More...
 
const ZMQ_RCVHWM = ZMQ_RCVHWM
 Set high water mark for inbound messages. More...
 
const ZMQ_RCVTIMEO = ZMQ_RCVTIMEO
 Maximum time before a recv operation returns with EAGAIN. More...
 
const ZMQ_RECONNECT_IVL = ZMQ_RECONNECT_IVL
 Set reconnection interval. More...
 
const ZMQ_RECONNECT_IVL_MAX = ZMQ_RECONNECT_IVL_MAX
 Set maximum reconnection interval. More...
 
const ZMQ_RECOVERY_IVL = ZMQ_RECOVERY_IVL
 Set multicast recovery interval. More...
 
const ZMQ_REQ_CORRELATE = ZMQ_REQ_CORRELATE
 match replies with requests More...
 
const ZMQ_REQ_RELAXED = ZMQ_REQ_RELAXED
 relax strict alternation between request and reply More...
 
const ZMQ_ROUTER_HANDOVER = ZMQ_ROUTER_HANDOVER
 handle duplicate client identities on ROUTER sockets More...
 
const ZMQ_ROUTER_MANDATORY = ZMQ_ROUTER_MANDATORY
 accept only routable messages on ROUTER sockets More...
 
const ZMQ_SNDBUF = ZMQ_SNDBUF
 Set kernel transmit buffer size. More...
 
const ZMQ_SNDHWM = ZMQ_SNDHWM
 Set the high water mark for outbound messages. More...
 
const ZMQ_SNDTIMEO = ZMQ_SNDTIMEO
 Maximum time before a send operation returns with EAGAIN. More...
 
const ZMQ_SOCKS_PROXY = ZMQ_SOCKS_PROXY
 Set SOCKS5 proxy address. More...
 
const ZMQ_STREAM_NOTIFY = ZMQ_STREAM_NOTIFY
 send connect and disconnect notifications More...
 
const ZMQ_SUBSCRIBE = ZMQ_SUBSCRIBE
 Establish message filter. More...
 
const ZMQ_TCP_KEEPALIVE = ZMQ_TCP_KEEPALIVE
 Override SO_KEEPALIVE socket option. More...
 
const ZMQ_TCP_KEEPALIVE_CNT = ZMQ_TCP_KEEPALIVE_CNT
 Override TCP_KEEPCNT socket option. More...
 
const ZMQ_TCP_KEEPALIVE_IDLE = ZMQ_TCP_KEEPALIVE_IDLE
 Override TCP_KEEPIDLE (or TCP_KEEPALIVE on some OSes) More...
 
const ZMQ_TCP_KEEPALIVE_INTVL = ZMQ_TCP_KEEPALIVE_INTVL
 Override TCP_KEEPINTVL socket option. More...
 
const ZMQ_TCP_MAXRT = ZMQ_TCP_MAXRT
 Set TCP Maximum Retransmit Timeout. More...
 
const ZMQ_TOS = ZMQ_TOS
 Set the Type-of-Service on socket. More...
 
const ZMQ_UNSUBSCRIBE = ZMQ_UNSUBSCRIBE
 Remove message filter. More...
 
const ZMQ_XPUB_MANUAL = ZMQ_XPUB_MANUAL
 change the subscription handling to manual More...
 
const ZMQ_XPUB_NODROP = ZMQ_XPUB_NODROP
 do not silently drop messages if SENDHWM is reached More...
 
const ZMQ_XPUB_VERBOSE = ZMQ_XPUB_VERBOSE
 pass subscribe messages on an XPUB socket More...
 
const ZMQ_XPUB_VERBOSER = ZMQ_XPUB_VERBOSER
 pass subscribe and unsubscribe messages on XPUB socket More...
 
const ZMQ_XPUB_WELCOME_MSG = ZMQ_XPUB_WELCOME_MSG
 Set welcome message that will be received by subscriber when connecting. More...
 
const ZMQ_ZAP_DOMAIN = ZMQ_ZAP_DOMAIN
 Set RFC 27 authentication domain. More...
 
const ZmqOptionCodeMap
 ZeroMQ option map mapping option codes to strings.
 
const ZmqOptionStringMap
 ZeroMQ option map mapping strings to option codes.
 
const ZFRAME_DONTWAIT = ZFRAME_DONTWAIT
 sets the "don't wait" bit on the frame; specifies that send operations should be performed in non-blocking mode
 
const ZFRAME_MORE = ZFRAME_MORE
 sets the "more" bit on the frame; i.e. that the frame is part of a multipart message
 
const ZFRAME_REUSE = ZFRAME_REUSE
 sets the "reuse" bit on the frame which prohibits the frame from being consumed by the call
 
const HAVE_ZFRAME_META = bool(_Q_ZFRAME_META)
 indicates if the ZFrame::meta() function is avialable or not
 
const HAVE_ZMQ_DRAFT_APIS = bool(_Q_HAVE_ZMQ_DRAFT_APIS)
 indicates if draft APIs are available or not
 

Detailed Description

ZMQ namespace.