X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fnetconf%2Fnetconf-client%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Fclient%2FNetconfClientDispatcher.java;h=6fc4da026f38acc3add7538f3c172e2c6ee01a0f;hp=d18f0208d4288d87abef3dc7b8de7c1451c1826d;hb=39ff0e7188f56f5c639cf81c2402db4c5dc85772;hpb=d04486e64562956fd518cc35225a924f65cb1c69 diff --git a/opendaylight/netconf/netconf-client/src/main/java/org/opendaylight/controller/netconf/client/NetconfClientDispatcher.java b/opendaylight/netconf/netconf-client/src/main/java/org/opendaylight/controller/netconf/client/NetconfClientDispatcher.java index d18f0208d4..6fc4da026f 100644 --- a/opendaylight/netconf/netconf-client/src/main/java/org/opendaylight/controller/netconf/client/NetconfClientDispatcher.java +++ b/opendaylight/netconf/netconf-client/src/main/java/org/opendaylight/controller/netconf/client/NetconfClientDispatcher.java @@ -10,6 +10,7 @@ package org.opendaylight.controller.netconf.client; import com.google.common.base.Optional; import com.google.common.base.Preconditions; +import io.netty.channel.EventLoopGroup; import io.netty.channel.socket.SocketChannel; import io.netty.util.HashedWheelTimer; import io.netty.util.concurrent.Future; @@ -32,7 +33,8 @@ public class NetconfClientDispatcher extends AbstractDispatcher maybeContext; private final NetconfClientSessionNegotiatorFactory negotatorFactory; - public NetconfClientDispatcher(final Optional maybeContext) { + public NetconfClientDispatcher(final Optional maybeContext, EventLoopGroup bossGroup, EventLoopGroup workerGroup) { + super(bossGroup, workerGroup); this.maybeContext = Preconditions.checkNotNull(maybeContext); this.negotatorFactory = new NetconfClientSessionNegotiatorFactory(new HashedWheelTimer()); }