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
10 package org.opendaylight.openflowjava.protocol.impl.connection;
12 import io.netty.channel.socket.SocketChannel;
16 * @author michal.polkorab
18 public abstract class ConnectionAdapterFactory {
22 * @return connection adapter tcp-implementation
24 public static ConnectionFacade createConnectionFacade(SocketChannel ch) {
25 ConnectionAdapterImpl connectionAdapter = new ConnectionAdapterImpl();
26 connectionAdapter.setChannel(ch);
27 return connectionAdapter;