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>, Serializable, scala.Equals, scala.Product
Enclosing interface:
PubSub<T>

public static class PubSub.SubscribeOnly<T> extends Object implements PubSub.SubscriberMessage<T>, scala.Product, Serializable
Represents the subscribe action for current states specified by a set of stateNames

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

See Also:
  • Constructor Details

    • SubscribeOnly

      public SubscribeOnly(akka.actor.typed.ActorRef<T> ref, scala.collection.immutable.Set<StateName> names)
  • Method Details

    • ref

      public akka.actor.typed.ActorRef<T> ref()
    • names

      public scala.collection.immutable.Set<StateName> names()