Barrier turn on/off-add switcher value to Config-Subsystem
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / core / connection / ConnectionAdapterFactory.java
1 /*
2  * Copyright (c) 2013 Pantheon Technologies s.r.o. 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
10 package org.opendaylight.openflowjava.protocol.impl.core.connection;
11
12 import io.netty.channel.Channel;
13 import java.net.InetSocketAddress;
14
15 /**
16  * @author mirehak
17  * @author michal.polkorab
18  */
19 public interface ConnectionAdapterFactory {
20
21     /**
22      * @param ch {@link Channel} channel
23      * @param address {@link InetSocketAddress}
24      * @param useBarrier
25      * @return connection adapter tcp-implementation
26      */
27     ConnectionFacade createConnectionFacade(Channel ch, InetSocketAddress address, boolean useBarrier);
28
29 }