import io.netty.util.concurrent.Future;
import io.netty.util.concurrent.GlobalEventExecutor;
import io.netty.util.concurrent.Promise;
-import java.io.Closeable;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import org.opendaylight.netconf.api.NetconfSession;
* start method that will handle sockets in different thread.
*/
@Deprecated
-public abstract class AbstractNetconfDispatcher<S extends NetconfSession, L extends NetconfSessionListener<? super S>>
- implements Closeable {
-
+public abstract class AbstractNetconfDispatcher<S extends NetconfSession, L extends NetconfSessionListener<? super S>> {
protected interface ChannelPipelineInitializer<C extends Channel, S extends NetconfSession> {
/**
* Initializes channel by specifying the handlers in its pipeline. Handlers are protocol specific, therefore
}
-
private static final Logger LOG = LoggerFactory.getLogger(AbstractNetconfDispatcher.class);
private final EventLoopGroup bossGroup;
bootstrap.group(workerGroup);
}
}
-
- @Deprecated
- @Override
- public void close() {
- }
}