Rename restconf packages to org.opendaylight.netconf
[netconf.git] / opendaylight / restconf / sal-restconf-broker / src / main / java / org / opendaylight / netconf / sal / restconf / broker / listeners / RemoteNotificationListener.java
diff --git a/opendaylight/restconf/sal-restconf-broker/src/main/java/org/opendaylight/netconf/sal/restconf/broker/listeners/RemoteNotificationListener.java b/opendaylight/restconf/sal-restconf-broker/src/main/java/org/opendaylight/netconf/sal/restconf/broker/listeners/RemoteNotificationListener.java
new file mode 100644 (file)
index 0000000..1b86f05
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.netconf.sal.restconf.broker.listeners;
+
+import org.opendaylight.controller.sal.binding.api.NotificationListener;
+import org.opendaylight.yangtools.yang.binding.Notification;
+
+public class RemoteNotificationListener<T extends Notification> implements org.opendaylight.yangtools.yang.binding.NotificationListener {
+
+    NotificationListener<T> listener;
+
+    public RemoteNotificationListener(NotificationListener<T> listener){
+        this.listener = listener;
+    }
+    public NotificationListener<T> getListener() {
+        return this.listener;
+    }
+
+}