BUG-58: refactor to take advantage of netty
[bgpcep.git] / pcep / api / src / main / java / org / opendaylight / protocol / pcep / PCEPSessionListenerFactory.java
index 20f4a39ecd316956d0908e371fa28d13ea5c4c9d..a61ff6087eb5fcd4df6c47516a06f62ecd97531a 100644 (file)
@@ -7,22 +7,11 @@
  */
 package org.opendaylight.protocol.pcep;
 
-import java.net.InetAddress;
-
 import org.opendaylight.protocol.framework.SessionListenerFactory;
 
 /**
  * Factory for generating PCEP Session Listeners. Used by a server.
  */
-public abstract class PCEPSessionListenerFactory implements SessionListenerFactory {
-
-       /**
-        * Returns one session listener that is registered to this factory
-        * @param address serves as constraint, so that factory is able to
-        * return different listeners for different factories
-        * @return specific session listener
-        */
-       @Override
-       public abstract PCEPSessionListener getSessionListener(InetAddress address);
+public interface PCEPSessionListenerFactory extends SessionListenerFactory<PCEPSessionListener> {
 
 }