Package org.onosproject.event
Local event delivery subsystem interfaces & supporting abstractions.
-
Interface Summary Interface Description Event<T extends java.lang.Enum,S> Abstraction of an of a time-stamped event pertaining to an arbitrary subject.EventDeliveryService Abstraction of an entity capable of accepting events to be posted and then dispatching them to the appropriate event sink.EventDispatcher Abstraction of a mechanism capable of accepting and dispatching events to appropriate event sinks.EventFilter<E extends Event> Entity capable of filtering events.EventListener<E extends Event> Entity capable of receiving events.EventSink<E extends Event> Abstraction of an event sink capable of processing the specified event types.EventSinkRegistry Abstraction of an event sink registry capable of tracking sinks based on their event class.ListenerService<E extends Event,L extends EventListener<E>> Abstraction of a service capable of asynchronously notifying listeners. -
Class Summary Class Description AbstractEvent<T extends java.lang.Enum,S> Base event implementation.AbstractListenerManager<E extends Event,L extends EventListener<E>> Basis for components which need to export listener mechanism.Change<T> Generic representation of an update.DefaultEventSinkRegistry Base implementation of event sink registry.ListenerRegistry<E extends Event,L extends EventListener<E>> Base implementation of an event sink and a registry capable of tracking listeners and dispatching events to them as part of event sink processing.ListenerTracker Utility to keeps track of registered Listeners.