Class PubSub.SubscribeOnly<T>
- java.lang.Object
-
- csw.command.client.models.framework.PubSub.SubscribeOnly<T>
-
- Type Parameters:
T
- represents the type of data that is subscribed
- All Implemented Interfaces:
PubSub<T>
,PubSub.SubscriberMessage<T>
,TMTSerializable
,java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
public static class PubSub.SubscribeOnly<T> extends java.lang.Object implements PubSub.SubscriberMessage<T>, scala.Product, scala.Serializable
Represents the subscribe action for current states specified by a set of stateNamesparam: 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
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface csw.command.client.models.framework.PubSub
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 Summary
Constructors Constructor Description SubscribeOnly(akka.actor.typed.ActorRef<T> ref, scala.collection.immutable.Set<StateName> names)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.collection.immutable.Set<StateName>
names()
akka.actor.typed.ActorRef<T>
ref()
-