Added Yang code generation for Multipart messages
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / connection / ConnectionConfiguration.java
1 /* Copyright (C)2013 Pantheon Technologies, s.r.o. All rights reserved. */
2
3 package org.opendaylight.openflowjava.protocol.api.connection;
4
5 import java.net.InetAddress;
6
7 /**
8  * @author mirehak
9  *
10  */
11 public interface ConnectionConfiguration {
12     
13     /**
14      * connection functionality support types
15      */
16     public enum FEATURE_SUPPORT {
17         /** feature is not supported at all */
18         NOT_SUPPORTED,
19         /** feature is supported */
20         SUPPORTED,
21         /** feature is supported and has to be used by clients */
22         REQUIRED
23     }
24     
25     /**
26      * @return address to bind, if null, all available interfaces will be used
27      */
28     public InetAddress getAddress();
29     
30     /**
31      * @return port to bind
32      */
33     public int getPort();
34     
35     /**
36      * @return transport protocol to use
37      */
38     public Object getTransferProtocol();
39     
40     /**
41      * @return encryption feature support
42      */
43     public FEATURE_SUPPORT getTlsSupport();
44
45 }