TLS support
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / connection / ConnectionConfiguration.java
index c5ca795caa960d99395b9431a200ad82b0ffbd0b..d877c0ccad238b825c912ceac6c4d8a5791a52c7 100644 (file)
@@ -20,19 +20,7 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.system.rev130927.S
  *
  */
 public interface ConnectionConfiguration {
-    
-    /**
-     * connection functionality support types
-     */
-    public enum FEATURE_SUPPORT {
-        /** feature is not supported at all */
-        NOT_SUPPORTED,
-        /** feature is supported */
-        SUPPORTED,
-        /** feature is supported and has to be used by clients */
-        REQUIRED
-    }
-    
+
     /**
      * @return address to bind, if null, all available interfaces will be used
      */
@@ -49,9 +37,9 @@ public interface ConnectionConfiguration {
     public Object getTransferProtocol();
     
     /**
-     * @return encryption feature support
+     * @return TLS configuration object
      */
-    public FEATURE_SUPPORT getTlsSupport();
+    public TlsConfiguration getTlsConfiguration();
     
     /**
      * @return silence time (in milliseconds) - after this time {@link SwitchIdleEvent} message is sent upstream