1 /* Copyright (C)2013 Pantheon Technologies, s.r.o. All rights reserved. */
3 package org.opendaylight.openflowjava.protocol.api.connection;
5 import java.net.InetAddress;
7 import javax.net.ssl.SSLEngine;
9 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.system.rev130927.SwitchIdleEvent;
15 public interface ConnectionConfiguration {
18 * connection functionality support types
20 public enum FEATURE_SUPPORT {
21 /** feature is not supported at all */
23 /** feature is supported */
25 /** feature is supported and has to be used by clients */
30 * @return address to bind, if null, all available interfaces will be used
32 public InetAddress getAddress();
35 * @return port to bind
40 * @return transport protocol to use
42 public Object getTransferProtocol();
45 * @return encryption feature support
47 public FEATURE_SUPPORT getTlsSupport();
50 * @return silence time (in milliseconds) - after this time {@link SwitchIdleEvent} message is sent upstream
52 public long getSwitchIdleTimeout();
55 * @return seed for {@link SSLEngine}
57 public Object getSslContext();