BUG-54 : switched channel pipeline to be protocol specific.
[bgpcep.git] / pcep / api / src / main / java / org / opendaylight / protocol / pcep / PCEPDispatcher.java
index 1eeb58a91af9b2876b2051bfa3249418472f9931..8f2bcf4b2a0296f295dbe8578d3471b7f7dc7fc9 100644 (file)
@@ -8,12 +8,10 @@
 package org.opendaylight.protocol.pcep;
 
 import io.netty.channel.ChannelFuture;
-import io.netty.util.concurrent.Future;
 
 import java.io.IOException;
 import java.net.InetSocketAddress;
 
-import org.opendaylight.protocol.framework.ReconnectStrategy;
 import org.opendaylight.protocol.framework.SessionListenerFactory;
 
 /**
@@ -22,21 +20,11 @@ import org.opendaylight.protocol.framework.SessionListenerFactory;
 public interface PCEPDispatcher {
        /**
         * Creates server. Each server needs three factories to pass their instances to client sessions.
+        * 
         * @param address to be bound with the server
         * @param listenerFactory to create listeners for clients
-        * @param proposalFactory to create proposed open objects for clients
-        * @param checkerFactory to create session characteristics checker for clients
         * @return instance of PCEPServer
         * @throws IOException if some IO error occurred
         */
        public ChannelFuture createServer(final InetSocketAddress address, final SessionListenerFactory<PCEPSessionListener> listenerFactory);
-
-       /**
-        * Creates a client. Needs to be started via the start method.
-        * @param connection PCEP connection settings
-        * @param strategy Reconnection strategy to be used for TCP-level connection
-        * @throws IOException if some IO error occurred
-        */
-       public Future<? extends PCEPSession> createClient(InetSocketAddress address, final PCEPSessionListener listener, final ReconnectStrategy strategy);
 }
-