Optional ReadonlyeventsSocket events (zeromq's observer). When present, the subscriber replaces
the socket on a disconnect (the connection dropped) or a close (a
connection attempt failed), and when no handshake (a connection is
ready) has come within its handshake deadline of connect(): a
createZeromqSocket socket does not reconnect by itself, and
messages published meanwhile are lost anyway. A custom socket with
events emits all three, as zeromq's does; for one that never emits
handshake, the first message counts as one.
Call listener on each event of type.
Close the socket: a pending receive() rejects.
Connect to the publisher at url.
The next message's frames.
Subscribe to the messages whose topic starts with topic.
The part of a ZeroMQ SUB socket the subscriber uses.
zeromq'sSubscribersatisfies it.