Class PubSub.Publish<T>

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

    public static class PubSub.Publish<T>
    extends java.lang.Object
    implements PubSub.PublisherMessage<T>, scala.Product, java.io.Serializable
    Represents a publish action

    param: data of type T that gets published

    See Also:
    Serialized Form
    • Constructor Detail

      • Publish

        public Publish​(T data)
    • Method Detail

      • data

        public T data()