| Package | Description |
|---|---|
| org.onosproject.event |
Local event delivery subsystem interfaces & supporting abstractions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractListenerRegistry<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.
|
| Modifier and Type | Method and Description |
|---|---|
<E extends Event> |
EventSinkRegistry.getSink(Class<E> eventClass)
Returns the event sink associated with the specified event class.
|
<E extends Event> |
DefaultEventSinkRegistry.getSink(Class<E> eventClass) |
| Modifier and Type | Method and Description |
|---|---|
<E extends Event> |
EventSinkRegistry.addSink(Class<E> eventClass,
EventSink<E> sink)
Adds the specified sink for the given event class.
|
<E extends Event> |
DefaultEventSinkRegistry.addSink(Class<E> eventClass,
EventSink<E> sink) |
Copyright © 2015. All rights reserved.