blob: 8e703812eee6f199ad3e3d52dca73b83cb430bae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package org.openvpp.jvpp.notification;
/**
* Base class for notification aware JVpp facades
*/
public abstract class NotificationRegistryProviderContext implements NotificationRegistryProvider {
private final NotificationRegistryImpl notificationRegistry = new NotificationRegistryImpl();
public final NotificationRegistry getNotificationRegistry() {
return notificationRegistry;
}
/**
* Get instance of notification callback. Can be used to propagate notifications from JVpp facade
*/
protected final GlobalNotificationCallback getNotificationCallback() {
return notificationRegistry;
}
}
|