BUG 2245 - Fixed Redundant Modifier
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / connection / ConnectionAdapterFactory.java
index a3897e9375d6687dc4144a6bda437fa614229170..cf4e83f0900fe4738c9c6b2ec95638d6e72afdbb 100644 (file)
@@ -9,20 +9,20 @@
 
 package org.opendaylight.openflowjava.protocol.impl.connection;
 
-import io.netty.channel.socket.SocketChannel;
+import java.net.InetSocketAddress;
+
+import io.netty.channel.Channel;
 
 /**
  * @author mirehak
  * @author michal.polkorab
  */
-public abstract class ConnectionAdapterFactory {
+public interface ConnectionAdapterFactory {
 
     /**
      * @param ch
      * @return connection adapter tcp-implementation
      */
-    public static ConnectionFacade createConnectionFacade(SocketChannel ch) {
-        return new ConnectionAdapterImpl(ch);
-    }
+    ConnectionFacade createConnectionFacade(Channel ch, InetSocketAddress address) ;
 
 }