2 * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.
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
8 package org.opendaylight.openflowjava.protocol.api.connection;
10 import java.net.InetAddress;
15 public interface ConnectionConfiguration {
18 * @return address to bind, if null, all available interfaces will be used
20 InetAddress getAddress();
23 * @return port to bind
28 * @return transport protocol to use
30 Object getTransferProtocol();
33 * @return TLS configuration object
35 TlsConfiguration getTlsConfiguration();
38 * @return silence time (in milliseconds) - after this time
39 * {@link org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.system.rev130927.SwitchIdleEvent}
40 * message is sent upstream
42 long getSwitchIdleTimeout();
45 * @return seed for {@link javax.net.ssl.SSLEngine}
47 Object getSslContext();
50 * @return thread numbers for TcpHandler's eventloopGroups
52 ThreadConfiguration getThreadConfiguration();
55 * @return boolean value for usability of Barrier