Added support for switch idle state
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / connection / ConnectionConfiguration.java
index 139d84ec2b6380835447176129d682caaba03987..a42b000c267694f87e26229630580418840054cd 100644 (file)
@@ -4,6 +4,10 @@ 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
  *
@@ -41,5 +45,15 @@ public interface ConnectionConfiguration {
      * @return encryption feature support
      */
     public FEATURE_SUPPORT getTlsSupport();
+    
+    /**
+     * @return silence time (in milliseconds) - after this time {@link SwitchIdleEvent} message is sent upstream 
+     */
+    public long getSwitchIdleTimeout();
+    
+    /**
+     * @return seed for {@link SSLEngine}
+     */
+    public Object getSslContext();
 
 }