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.core.connection;
12 import io.netty.channel.Channel;
13 import java.net.InetSocketAddress;
16 * Implementation of ConnectionAdapterFactory.
19 * @author michal.polkorab
21 public class ConnectionAdapterFactoryImpl implements ConnectionAdapterFactory {
24 public ConnectionFacade createConnectionFacade(final Channel ch, final InetSocketAddress address,
25 final boolean useBarrier, final int channelOutboundQueueSize) {
26 return new ConnectionAdapterImpl(ch, address, useBarrier, channelOutboundQueueSize);