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
Modifier and TypeInterfaceDescriptionstatic class
Represents a publish actionstatic class
static interface
Represents the messages about publishing data e.g Publishstatic class
Represents the subscribe action where all the current state publishing from the particular component can be subscribed tostatic class
static class
Represents the subscribe action for current states specified by a set of stateNamesstatic class
static interface
Represents the messages about subscribing data e.g Subscribe and Unsubscribestatic class
Represents a unsubscribe actionstatic class