Qore zmq Module
1.0.0
|
Variables | |
const | Qore::ZMQ::ZMQ_EVENT_ACCEPTED = 0x0020 |
accepted event More... | |
const | Qore::ZMQ::ZMQ_EVENT_ACCEPT_FAILED = 0x0040 |
accept failed event More... | |
const | Qore::ZMQ::ZMQ_EVENT_ALL = 0xFFFF |
mask for all events | |
const | Qore::ZMQ::ZMQ_EVENT_BIND_FAILED = 0x0010 |
bind failed event More... | |
const | Qore::ZMQ::ZMQ_EVENT_CLOSED = 0x0080 |
closed event More... | |
const | Qore::ZMQ::ZMQ_EVENT_CLOSE_FAILED = 0x0100 |
close failed event More... | |
const | Qore::ZMQ::ZMQ_EVENT_CONNECTED = 0x0001 |
connected event More... | |
const | Qore::ZMQ::ZMQ_EVENT_CONNECT_DELAYED = 0x0002 |
delayed event More... | |
const | Qore::ZMQ::ZMQ_EVENT_CONNECT_RETRIED = 0x0004 |
retried event More... | |
const | Qore::ZMQ::ZMQ_EVENT_DISCONNECTED = 0x0200 |
disconnected event More... | |
const | Qore::ZMQ::ZMQ_EVENT_LISTENING = 0x0008 |
listening event More... | |
const | Qore::ZMQ::ZMQ_EVENT_MONITOR_STOPPED = 0x0400 |
monitor stopped event More... | |
const | Qore::ZMQ::ZmqEventCodeMap |
ZeroMQ event map mapping event codes to strings. | |
const | Qore::ZMQ::ZmqEventStringMap |
ZeroMQ event map mapping strings to event codes. | |
These constants define event codes for ZSocket::monitor() and are meant to be combined with binary or to create a socket event mask.
const Qore::ZMQ::ZMQ_EVENT_ACCEPT_FAILED = 0x0040 |
accept failed event
The socket has rejected a connection from a remote peer. The event value is the errno generated by the accept call.
const Qore::ZMQ::ZMQ_EVENT_ACCEPTED = 0x0020 |
accepted event
The socket has accepted a connection from a remote peer. The event value is the FD of the underlying network socket. Warning: there is no guarantee that the FD is still valid by the time your code receives this event.
const Qore::ZMQ::ZMQ_EVENT_BIND_FAILED = 0x0010 |
bind failed event
The socket could not bind to a given interface. The event value is the errno generated by the system bind call.
const Qore::ZMQ::ZMQ_EVENT_CLOSE_FAILED = 0x0100 |
close failed event
The socket close failed. The event value is the errno returned by the system call. Note that this event occurs only on IPC transports.
const Qore::ZMQ::ZMQ_EVENT_CLOSED = 0x0080 |
closed event
The socket was closed. The event value is the FD of the (now closed) network socket.
const Qore::ZMQ::ZMQ_EVENT_CONNECT_DELAYED = 0x0002 |
delayed event
A connect request on the socket is pending. The event value is unspecified.
const Qore::ZMQ::ZMQ_EVENT_CONNECT_RETRIED = 0x0004 |
retried event
A connect request failed, and is now being retried. The event value is the reconnect interval in milliseconds. Note that the reconnect interval is recalculated at each retry.
const Qore::ZMQ::ZMQ_EVENT_CONNECTED = 0x0001 |
connected event
The socket has successfully connected to a remote peer. The event value is the file descriptor (FD) of the underlying network socket. Warning: there is no guarantee that the FD is still valid by the time your code receives this event.
const Qore::ZMQ::ZMQ_EVENT_DISCONNECTED = 0x0200 |
disconnected event
The socket was disconnected unexpectedly. The event value is the FD of the underlying network socket. Warning: this socket will be closed.
const Qore::ZMQ::ZMQ_EVENT_LISTENING = 0x0008 |
listening event
The socket was successfully bound to a network interface. The event value is the FD of the underlying network socket. Warning: there is no guarantee that the FD is still valid by the time your code receives this event.
const Qore::ZMQ::ZMQ_EVENT_MONITOR_STOPPED = 0x0400 |
monitor stopped event
Monitoring on this socket ended.