Specialize protocol-framework to netconf
[netconf.git] / netconf / netconf-netty-util / src / main / java / org / opendaylight / netconf / nettyutil / NetconfSessionNegotiator.java
similarity index 77%
rename from protocol-framework/src/main/java/org/opendaylight/protocol/framework/SessionNegotiator.java
rename to netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/NetconfSessionNegotiator.java
index c2abf50716648b87405c338cf809dfb8a31c55fb..38978ced3d5cd65af5bfb143961931aea9908c12 100644 (file)
@@ -5,9 +5,10 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-package org.opendaylight.protocol.framework;
+package org.opendaylight.netconf.nettyutil;
 
 import io.netty.channel.ChannelInboundHandler;
+import org.opendaylight.netconf.api.NetconfSession;
 
 /**
  * Session negotiator concepts. A negotiator is responsible for message
@@ -18,6 +19,6 @@ import io.netty.channel.ChannelInboundHandler;
  * @param <T> Protocol session type.
  */
 @Deprecated
-public interface SessionNegotiator<T extends ProtocolSession<?>> extends ChannelInboundHandler {
+public interface NetconfSessionNegotiator<T extends NetconfSession> extends ChannelInboundHandler {
 
 }