Bug 5596 Cleaning part 1
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / DeviceManager.java
index 4e89cd9adf9b9179e89b0f271c3692e1ab964c6c..3f73661fc1bcf1253cf9883a7f1c2db96601bc6e 100644 (file)
@@ -8,8 +8,7 @@
 
 package org.opendaylight.openflowplugin.api.openflow.device;
 
-import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
-import org.opendaylight.controller.md.sal.binding.api.NotificationService;
+import org.opendaylight.openflowplugin.api.openflow.OFPManager;
 import org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceConnectedHandler;
 import org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceDisconnectedHandler;
 import org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceInitializationPhaseHandler;
@@ -21,28 +20,19 @@ import org.opendaylight.openflowplugin.api.openflow.translator.TranslatorLibrari
  * This interface is responsible for instantiating DeviceContext and
  * registering transaction chain for each DeviceContext. Each device
  * has its own device context managed by this manager.
- * Created by Martin Bobak <mbobak@cisco.com> on 25.2.2015.
  */
 public interface DeviceManager extends DeviceConnectedHandler, DeviceDisconnectedHandler, DeviceLifecycleSupervisor,
-        DeviceInitializationPhaseHandler, DeviceTerminationPhaseHandler, TranslatorLibrarian, AutoCloseable {
+        DeviceInitializationPhaseHandler, DeviceTerminationPhaseHandler, TranslatorLibrarian, AutoCloseable, OFPManager {
 
-    /**
-     * Sets notification receiving service
-     *
-     * @param notificationService
-     */
-    void setNotificationService(NotificationService notificationService);
-
-    /**
-     * Sets notification publish service
-     *
-     * @param notificationPublishService
-     */
-    void setNotificationPublishService(NotificationPublishService notificationPublishService);
 
     /**
      * invoked after all services injected
      */
     void initialize();
+
+    void setIsNotificationFlowRemovedOff(boolean value);
+
+    boolean getIsNotificationFlowRemovedOff();
+
 }