Merge "Remove redundant exception declarations"
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / handlers / DeviceConnectedHandler.java
index 8900357eb5f0e03503ccfa5fb6c009e80f38366b..f4f8cd8ae077a3652fdc477d98bd8a508e72dba4 100644 (file)
@@ -9,9 +9,11 @@
 package org.opendaylight.openflowplugin.api.openflow.device.handlers;
 
 import org.opendaylight.openflowplugin.api.openflow.connection.ConnectionContext;
+import org.opendaylight.openflowplugin.api.openflow.connection.ConnectionStatus;
 
 /**
- * Created by Martin Bobak <mbobak@cisco.com> on 26.2.2015.
+ * Represents handler for new connected device that will propagate information about
+ * established connection with device. It is important for correct order in device connection chain.
  */
 public interface DeviceConnectedHandler {
 
@@ -19,6 +21,7 @@ public interface DeviceConnectedHandler {
      * Method is used to propagate information about established connection with device.
      * It propagates connected device's connection context.
      */
-    boolean deviceConnected(ConnectionContext connectionContext) throws Exception;
+    ConnectionStatus deviceConnected(ConnectionContext connectionContext)
+    ;
 
 }