Initial framework migration to netty.
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / spi / BGPDispatcher.java
index 92b2768db48f98e077bc540ecad74c77b97ecc55..325fb892cc42ee619af8bc51872728cab4fa6b2d 100644 (file)
@@ -9,9 +9,8 @@ package org.opendaylight.protocol.bgp.rib.impl.spi;
 
 import java.io.IOException;
 
-import org.opendaylight.protocol.bgp.parser.BGPMessageParser;
 import org.opendaylight.protocol.bgp.parser.BGPSession;
-
+import org.opendaylight.protocol.framework.ProtocolMessageFactory;
 
 /**
  * Dispatcher class for creating BGP clients.
@@ -26,5 +25,5 @@ public interface BGPDispatcher {
         * @return client session
         * @throws IOException
         */
-       BGPSession createClient(BGPConnection connection, BGPMessageParser parser) throws IOException;
+       BGPSession createClient(BGPConnection connection, ProtocolMessageFactory parser) throws IOException;
 }