Do not use JdkFutureAdapters in BgpPeerRpc 97/81497/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 9 Apr 2019 18:01:47 +0000 (20:01 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 9 Apr 2019 18:07:18 +0000 (20:07 +0200)
commit76ed78eb1ae79c0cbc67cd00b7ea3a087719304f
tree220308e5bb4a5f06905086e383833d51dc41a345
parent155dc841fd842635b29b8eb65cb40ecf3e1e3413
Do not use JdkFutureAdapters in BgpPeerRpc

ChannelFuture provides listeners, hence we can trivially bridge
results without having to listen in a threadpool.

Change-Id: Ia46c5f406b6be50b9eba293ecf80714db99dabf4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BgpPeerRpc.java
bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/BgpPeerRpcTest.java