Interface PubSub<T>
-
- Type Parameters:
T- represents the type of data that is published or subscribed
- All Known Subinterfaces:
PubSub.PublisherMessage<T>,PubSub.SubscriberMessage<T>
- All Known Implementing Classes:
PubSub.Publish,PubSub.Subscribe,PubSub.SubscribeOnly,PubSub.Unsubscribe
public interface PubSub<T>Represents the protocol or messages about publishing data and subscribing it
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPubSub.Publish<T>Represents a publish actionstatic classPubSub.Publish$static interfacePubSub.PublisherMessage<T>Represents the messages about publishing data e.g Publishstatic classPubSub.Subscribe<T>Represents the subscribe action where all the current state publishing from the particular component can be subscribed tostatic classPubSub.Subscribe$static classPubSub.SubscribeOnly<T>Represents the subscribe action for current states specified by a set of stateNamesstatic classPubSub.SubscribeOnly$static interfacePubSub.SubscriberMessage<T>Represents the messages about subscribing data e.g Subscribe and Unsubscribestatic classPubSub.Unsubscribe<T>Represents a unsubscribe actionstatic classPubSub.Unsubscribe$
-