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
9 package org.opendaylight.openflowjava.protocol.impl.integration;
11 import java.net.InetAddress;
13 import org.opendaylight.openflowjava.protocol.api.connection.ConnectionConfiguration;
16 * @author michal.polkorab
19 public class TestingConnConfigImpl implements ConnectionConfiguration {
21 private InetAddress address;
23 private Object transferProtocol;
24 private FEATURE_SUPPORT tlsSupport;
25 private long switchIdleTimeout;
28 * Creates {@link TestingConnConfigImpl}
32 * @param switchIdleTimeout
34 public TestingConnConfigImpl(InetAddress address, int port, FEATURE_SUPPORT tlsSupport, long switchIdleTimeout) {
35 this.address = address;
37 this.tlsSupport = tlsSupport;
38 this.switchIdleTimeout = switchIdleTimeout;
42 public InetAddress getAddress() {
47 public int getPort() {
52 public Object getTransferProtocol() {
53 return transferProtocol;
57 public FEATURE_SUPPORT getTlsSupport() {
62 public long getSwitchIdleTimeout() {
63 return switchIdleTimeout;
67 public Object getSslContext() {
68 // TODO Auto-generated method stub