BUG-58: refactor to take advantage of netty
[bgpcep.git] / pcep / testtool / src / main / java / org / opendaylight / protocol / pcep / testtool / TestingSessionListenerFactory.java
index ee3672ae27db68183b608beaa27ce9b4ccf942cf..7fc364696c2ae9812cbafd60225f50c2fa8b8785 100644 (file)
@@ -7,23 +7,12 @@
  */
 package org.opendaylight.protocol.pcep.testtool;
 
-import java.net.InetAddress;
-
 import org.opendaylight.protocol.pcep.PCEPSessionListener;
 import org.opendaylight.protocol.pcep.PCEPSessionListenerFactory;
 
-/**
- *
- */
-public class TestingSessionListenerFactory extends PCEPSessionListenerFactory {
-
-       public TestingSessionListenerFactory() {
-
-       }
-
+public class TestingSessionListenerFactory implements PCEPSessionListenerFactory {
        @Override
-       public PCEPSessionListener getSessionListener(final InetAddress address) {
+       public PCEPSessionListener getSessionListener() {
                return new TestingSessionListener();
        }
-
 }