ZMonitor class

Monitors socket state

Constructors

ZMonitor({required ZContext context, required ZSocket socket, int event = ZMQ_EVENT_ALL})
Construct a new ZMonitor with a given underlying ZMQSocket socket, the global ZContext context and the given events to monitor

Properties

events Stream<SocketEvent>
Stream of received ZEvents
latefinal
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Close the monitor and free resources
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited