ZContext class
High-level wrapper around the ØMQ C++ api.
Constructors
- ZContext()
- Create a new global ZContext
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createdSynSocket(
SocketType mode) → ZSyncSocket -
Create a new synchronous socket of the given
mode
-
createMonitoredSocket(
SocketType mode, {int event = ZMQ_EVENT_ALL}) → MonitoredZSocket -
Create a new monitored socket of the given
mode
and optionalevent
s to monitor -
createSocket(
SocketType mode) → ZSocket -
Create a new asynchronous socket of the given
mode
-
hasCapability(
String capability) → bool -
Check whether a specified
capability
is available in the library. This allows bindings and applications to probe a library directly, for transport and security options. -
hasCURVE(
) → bool - Check if the library supports the CURVE security mechanism
-
hasDRAFT(
) → bool - Check if the library is built with the draft api
-
hasGSSAPI(
) → bool - Check if the library supports the GSSAPI security mechanism
-
hasIPC(
) → bool - Check if the library supports the ipc:// protocol
-
hasNORM(
) → bool - Check if the library supports the norm:// protocol
-
hasPGM(
) → bool - Check if the library supports the pgm:// protocol
-
hasTIPC(
) → bool - Check if the library supports the tipc:// protocol
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stop(
) → Future -
Shutdown zeromq. Will stop
_poll
asynchronously. The returned Future will complete once_poll
has been stopped -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited