BUG-58: refactor to take advantage of netty
[bgpcep.git] / framework / src / test / java / org / opendaylight / protocol / framework / SimpleSessionListenerFactory.java
index eb722ce9b3c19c03413388672a498504f684def1..8135a89cccb1ff34b8af44f8777892202fe2c31f 100644 (file)
@@ -7,12 +7,10 @@
  */
 package org.opendaylight.protocol.framework;
 
-import java.net.InetAddress;
-
-public class SimpleSessionListenerFactory implements SessionListenerFactory {
+public class SimpleSessionListenerFactory implements SessionListenerFactory<SimpleSessionListener> {
 
        @Override
-       public SimpleSessionListener getSessionListener(InetAddress address) {
+       public SimpleSessionListener getSessionListener() {
                return new SimpleSessionListener();
        }
 }