case classIdentity(value: Array[Byte]) extends SocketOption with Product with Serializable
Sets the identity of the specified socket. Socket identity determines if existing ØMQ infrastructure
(message queues, forwarding devices) shall be identified with a specific application and persist across multiple
runs of the application.
If the socket has no identity, each run of an application is completely separate from other runs.
However, with identity set the socket shall re-use any existing ØMQ infrastructure configured by the previous run(s).
Thus the application may receive messages that were sent in the meantime, message queue limits shall be shared
with previous run(s) and so on.
Identity should be at least one byte and at most 255 bytes long.
Identities starting with binary zero are reserved for use by ØMQ infrastructure.
value
The identity string for this socket
Linear Supertypes
Serializable, Serializable, Product, Equals, SocketOption, Request, AnyRef, Any
Sets the identity of the specified socket. Socket identity determines if existing ØMQ infrastructure (message queues, forwarding devices) shall be identified with a specific application and persist across multiple runs of the application.
If the socket has no identity, each run of an application is completely separate from other runs. However, with identity set the socket shall re-use any existing ØMQ infrastructure configured by the previous run(s). Thus the application may receive messages that were sent in the meantime, message queue limits shall be shared with previous run(s) and so on.
Identity should be at least one byte and at most 255 bytes long. Identities starting with binary zero are reserved for use by ØMQ infrastructure.
The identity string for this socket