fszmq


ZMQEventDetails

Namespace: fszmq

Provides more-granular information about a ZMQEvent

Union Cases

Union CaseDescription
Accepted(handle)
Signature: int

Raised when the socket has accepted a connection from a remote peer; Carries the file descriptor of the underlying socket (validity no guaranteed)

AcceptFailed(error)
Signature: ZMQError

Raise when the socket has rejected a connection from a remote peer; Carries the error generated during the system call

BindFailed(error)
Signature: ZMQError

Raise when the socket could not bind to a given interface; Carries the error generated during the system call

Closed(handle)
Signature: int

Raised when the socket was closed; Carries the file descriptor of the underlying socket (validity no guaranteed)

CloseFailed(error)
Signature: ZMQError

Raise when the socket failed to close; Carries the error generated during the system call

ConnectDelayed
Signature:

Raised when a connect request on the socket is pending

Connected(handle)
Signature: int

Raised when the socket has successfully connected to a remote peer; Carries the file descriptor of the underlying socket (validity no guaranteed)

ConnectRetried(interval)
Signature: int

Raised when a connect request failed, and is now being retried; Carries the reconnect interval in milliseconds

Disconnected(handle)
Signature: int

Raised when the socket was disconnected unexpectedly; Carries the file descriptor of the underlying socket (validity no guaranteed)

Listening(handle)
Signature: int

Raised when the socket was successfully bound to a network interface; Carries the file descriptor of the underlying socket (validity no guaranteed)

MonitorStopped
Signature:

Monitoring on the given socket ended

Unknown
Signature:

Received unknown (likely garbage) event data. Recheck your code.

Fork me on GitHub