akka.zeromq
Class Unsubscribe
java.lang.Object
akka.zeromq.Unsubscribe
- All Implemented Interfaces:
- PubSubOption, Request, SocketOption, java.io.Serializable, scala.Equals, scala.Product
public class Unsubscribe
- extends java.lang.Object
- implements PubSubOption, scala.Product, scala.Serializable
The Unsubscribe option shall remove an existing message filter
on a akka.zeromq.SocketType.Sub socket. The filter specified must match an existing filter
previously established with the Subscribe option. If the socket has several instances of the
same filter attached the Unsubscribe option shall remove only one instance, leaving the rest
in place and functional.
- See Also:
- Serialized Form
|
Constructor Summary |
Unsubscribe(scala.collection.Seq<java.lang.Object> payload)
|
Unsubscribe(java.lang.String topic)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface scala.Product |
productArity, productElement, productIterator, productPrefix |
| Methods inherited from interface scala.Equals |
canEqual, equals |
Unsubscribe
public Unsubscribe(scala.collection.Seq<java.lang.Object> payload)
Unsubscribe
public Unsubscribe(java.lang.String topic)
apply
public static Unsubscribe apply(java.lang.String topic)
payload
public scala.collection.Seq<java.lang.Object> payload()
- Specified by:
payload in interface PubSubOption