Barrier turn on/off-add switcher value to Config-Subsystem
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / connection / ConnectionConfiguration.java
index 6a61b5857afa2b402c5d34233f5e8186d7e28d92..578e97b552479f78212bff0fe6935fb7f2e3f063 100644 (file)
@@ -5,18 +5,12 @@
  * 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.openflowjava.protocol.api.connection;
 
 import java.net.InetAddress;
 
-import javax.net.ssl.SSLEngine;
-
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.system.rev130927.SwitchIdleEvent;
-
 /**
  * @author mirehak
- *
  */
 public interface ConnectionConfiguration {
 
@@ -24,34 +18,41 @@ public interface ConnectionConfiguration {
      * @return address to bind, if null, all available interfaces will be used
      */
     InetAddress getAddress();
-    
+
     /**
      * @return port to bind
      */
     int getPort();
-    
+
     /**
      * @return transport protocol to use
      */
     Object getTransferProtocol();
-    
+
     /**
      * @return TLS configuration object
      */
     TlsConfiguration getTlsConfiguration();
-    
+
     /**
-     * @return silence time (in milliseconds) - after this time {@link SwitchIdleEvent} message is sent upstream 
+     * @return silence time (in milliseconds) - after this time
+     *         {@link org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.system.rev130927.SwitchIdleEvent}
+     *         message is sent upstream
      */
     long getSwitchIdleTimeout();
-    
+
     /**
-     * @return seed for {@link SSLEngine}
+     * @return seed for {@link javax.net.ssl.SSLEngine}
      */
     Object getSslContext();
-    
+
     /**
      * @return thread numbers for TcpHandler's eventloopGroups
      */
     ThreadConfiguration getThreadConfiguration();
-}
\ No newline at end of file
+
+    /**
+     * @return boolean value for usability of Barrier
+     */
+    boolean useBarrier();
+}