Constructor
new ZMQ(settingsopt) → {ZMQ}
Creates an instance of a ZeroMQ subscriber.
Parameters:
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
settings |
Object |
<optional> |
Settings for the ZMQ connection.
Properties
|
- Source:
Returns:
Instance of the ZMQ service, ready to run `start()`
- Type
- ZMQ
Methods
(async) start() → {ZMQ}
Opens the connection and subscribes to the requested channels.
- Source:
Returns:
Instance of the service.
- Type
- ZMQ
(async) stop() → {ZMQ}
Closes the connection to the ZMQ publisher.
- Source:
Returns:
Instance of the service.
- Type
- ZMQ