BUG 4547: Make sure all channel writes are from a netty thread. 92/32492/2
authorTomas Cere <tcere@cisco.com>
Wed, 13 Jan 2016 11:49:48 +0000 (12:49 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 19 Jan 2016 08:41:20 +0000 (08:41 +0000)
commit235f43934e553d3bc8a6ed416902bbb601f525df
treec37b142759a4d5f455434bebf6200db8443a747e
parent2bde01e8aa670be6573d433d894b2ee523470ba8
BUG 4547: Make sure all channel writes are from a netty thread.

When we were in restconf thread some writes were executed from jetty thread,
we need to make sure all channel writes are coming from netty thread to
preserve message ordering.

Port of:
https://git.opendaylight.org/gerrit/#/c/32272/5

Change-Id: I19ba295905de5fce3cb84e6d5285a2ddf73c54c1
Signed-off-by: Tomas Cere <tcere@cisco.com>
opendaylight/netconf/netconf-client/src/test/java/org/opendaylight/controller/netconf/client/NetconfClientSessionNegotiatorTest.java
opendaylight/netconf/netconf-client/src/test/java/org/opendaylight/controller/netconf/client/SimpleNetconfClientSessionListenerTest.java
opendaylight/netconf/netconf-impl/src/test/java/org/opendaylight/controller/netconf/impl/mapping/operations/DefaultCloseSessionTest.java
opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/AbstractNetconfSession.java
opendaylight/netconf/netconf-netty-util/src/test/java/org/opendaylight/controller/netconf/nettyutil/AbstractNetconfSessionTest.java