BUG-58: refactor to take advantage of netty
[bgpcep.git] / pcep / testtool / src / main / java / org / opendaylight / protocol / pcep / testtool / SessionListenerFactory.java
index 027c8e6ba625679023ed893b7e55438486d8b6e0..b40bd81c467b2fbac4f9150cf320ea283ab1010e 100644 (file)
@@ -7,18 +7,13 @@
  */
 package org.opendaylight.protocol.pcep.testtool;
 
-import java.net.InetAddress;
-
 import org.opendaylight.protocol.pcep.PCEPSessionListener;
 import org.opendaylight.protocol.pcep.PCEPSessionListenerFactory;
 
-/**
- *
- */
-public class SessionListenerFactory extends PCEPSessionListenerFactory {
+public class SessionListenerFactory implements PCEPSessionListenerFactory {
 
        @Override
-       public PCEPSessionListener getSessionListener(InetAddress address) {
+       public PCEPSessionListener getSessionListener() {
                return new SimpleSessionListener();
        }
 }