Class PubSub.Subscribe<T>

  • Type Parameters:
    T - represents the type of data that is subscribed
    All Implemented Interfaces:
    PubSub<T>, PubSub.SubscriberMessage<T>, java.io.Serializable, scala.Equals, scala.Product
    Enclosing interface:
    PubSub<T>

    public static class PubSub.Subscribe<T>
    extends java.lang.Object
    implements PubSub.SubscriberMessage<T>, scala.Product, java.io.Serializable
    Represents the subscribe action where all the current state publishing from the particular component can be subscribed to

    param: ref the reference of subscriber used to notify to when some data is published

    See Also:
    Serialized Form
    • Constructor Detail

      • Subscribe

        public Subscribe​(akka.actor.typed.ActorRef<T> ref)
    • Method Detail

      • ref

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