add lib-plugin interaction implementations on library side
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / connection / ConnectionConfiguration.java
1 /**
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.openflowjava.protocol.api.connection;
10
11 import java.net.InetAddress;
12
13 /**
14  * @author mirehak
15  *
16  */
17 public interface ConnectionConfiguration {
18     
19     /**
20      * connection functionality support types
21      */
22     public enum FEATURE_SUPPORT {
23         /** feature is not supported at all */
24         NOT_SUPPORTED,
25         /** feature is supported */
26         SUPPORTED,
27         /** feature is supported and has to be used by clients */
28         REQUIRED
29     }
30     
31     /**
32      * @return address to bind, if null, all available interfaces will be used
33      */
34     public InetAddress getAddress();
35     
36     /**
37      * @return port to bind
38      */
39     public int getPort();
40     
41     /**
42      * @return transport protocol to use
43      */
44     public Object getTransferProtocol();
45     
46     /**
47      * @return encryption feature support
48      */
49     public FEATURE_SUPPORT getTlsSupport();
50
51 }