1 /* Copyright (C)2013 Pantheon Technologies, s.r.o. All rights reserved. */
3 package org.opendaylight.openflowjava.protocol.impl.connection;
5 import io.netty.channel.socket.SocketChannel;
9 * @author michal.polkorab
11 public abstract class ConnectionAdapterFactory {
15 * @return connection adapter tcp-implementation
17 public static ConnectionFacade createConnectionAdapter(SocketChannel ch) {
18 ConnectionAdapterImpl connectionAdapter = new ConnectionAdapterImpl();
19 connectionAdapter.setChannel(ch);
20 return connectionAdapter;