package org.opendaylight.netconf.callhome.protocol;
import io.netty.util.concurrent.Promise;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.netconf.client.NetconfClientSession;
import org.opendaylight.netconf.client.NetconfClientSessionListener;
/**
* Activator of NETCONF channel on incoming SSH Call Home session.
- *
*/
public interface CallHomeChannelActivator {
-
/**
- *
* Activates Netconf Client Channel with supplied client session listener.
*
+ * <p>
* Activation of channel will result in start of NETCONF client
* session negotiation on underlying ssh channel.
*
* @param listener Client Session Listener to be attached to NETCONF session.
* @return Promise with negotiated NETCONF session
*/
- @Nonnull
- Promise<NetconfClientSession> activate(@Nonnull NetconfClientSessionListener listener);
-
+ @NonNull Promise<NetconfClientSession> activate(@NonNull NetconfClientSessionListener listener);
}