L
- the listener typeN
- the notification typepublic interface NotificationManager<L,N>
Modifier and Type | Method and Description |
---|---|
void |
submitNotification(L listener,
N notification)
Submits a notification to be queued and dispatched to the given listener.
|
void |
submitNotifications(L listener,
Iterable<N> notifications)
Submits notifications to be queued and dispatched to the given listener.
|
void submitNotification(L listener, N notification)
Note: This method may block if the listener queue is currently full.
listener
- the listener to notifynotification
- the notification to dispatchRejectedExecutionException
- if the notification can't be queued for dispatchingvoid submitNotifications(L listener, Iterable<N> notifications)
Note: This method may block if the listener queue is currently full.
listener
- the listener to notifynotifications
- the notifications to dispatchRejectedExecutionException
- if a notification can't be queued for dispatchingCopyright © 2017 OpenDaylight. All rights reserved.