VPP-330 Track pending map-requests with a fifo
[vpp.git] / vpp-api / java / jvpp / org / openvpp / jvpp / notification / NotificationRegistryProviderContext.java
1 package org.openvpp.jvpp.notification;
2
3 /**
4  * Base class for notification aware JVpp facades
5  */
6 public abstract class NotificationRegistryProviderContext implements NotificationRegistryProvider {
7
8     private final NotificationRegistryImpl notificationRegistry = new NotificationRegistryImpl();
9
10     public final NotificationRegistry getNotificationRegistry() {
11         return notificationRegistry;
12     }
13
14     /**
15      * Get instance of notification callback. Can be used to propagate notifications from JVpp facade
16      */
17     protected final GlobalNotificationCallback getNotificationCallback() {
18         return notificationRegistry;
19     }
20 }