T
- represents the type of data that is subscribedpublic static class PubSub.SubscribeOnly<T> extends java.lang.Object implements PubSub.SubscriberMessage<T>, scala.Product, scala.Serializable
param: ref the reference of subscriber used to notify to when some data is published param: names set of stateNames uniquely representating current states for a component
PubSub.Publish<T>, PubSub.Publish$, PubSub.PublisherMessage<T>, PubSub.Subscribe<T>, PubSub.Subscribe$, PubSub.SubscribeOnly<T>, PubSub.SubscribeOnly$, PubSub.SubscriberMessage<T>, PubSub.Unsubscribe<T>, PubSub.Unsubscribe$
Constructor and Description |
---|
SubscribeOnly(akka.actor.typed.ActorRef<T> ref,
scala.collection.immutable.Set<StateName> names) |
Modifier and Type | Method and Description |
---|---|
scala.collection.immutable.Set<StateName> |
names() |
akka.actor.typed.ActorRef<T> |
ref() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait