Remove trailing whitespace
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / connection / ConnectionConfiguration.java
index 139d84ec2b6380835447176129d682caaba03987..cfb042938e78823f5d80d44b6dd7ff909734b007 100644 (file)
@@ -1,45 +1,56 @@
-/* Copyright (C)2013 Pantheon Technologies, s.r.o. All rights reserved. */
+/*
+ * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * 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 {
-    
-    /**
-     * 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
      */
-    public InetAddress getAddress();
-    
+    InetAddress getAddress();
+
     /**
      * @return port to bind
      */
-    public int getPort();
-    
+    int getPort();
+
     /**
      * @return transport protocol to use
      */
-    public Object getTransferProtocol();
-    
+    Object getTransferProtocol();
+
     /**
-     * @return encryption feature support
+     * @return TLS configuration object
      */
-    public FEATURE_SUPPORT getTlsSupport();
+    TlsConfiguration getTlsConfiguration();
 
-}
+    /**
+     * @return silence time (in milliseconds) - after this time {@link SwitchIdleEvent} message is sent upstream
+     */
+    long getSwitchIdleTimeout();
+
+    /**
+     * @return seed for {@link SSLEngine}
+     */
+    Object getSslContext();
+
+    /**
+     * @return thread numbers for TcpHandler's eventloopGroups
+     */
+    ThreadConfiguration getThreadConfiguration();
+}
\ No newline at end of file