Run flush immediately when channel becomes writable 27/21727/1
authorRobert Varga <rovarga@cisco.com>
Mon, 1 Jun 2015 20:52:14 +0000 (22:52 +0200)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Wed, 3 Jun 2015 08:30:41 +0000 (08:30 +0000)
commit159def5396cbeee7336b4fab971fd0104977ad98
treedeaecd8d5405ca6523a4f213da464e3b3a2e580d
parentf05d7a5b91980627e3e19ac88352813eb5afec10
Run flush immediately when channel becomes writable

Instead of scheduling it on the executor, make sure we run the flush
task immediately.

Change-Id: Ic0cf9d031127d8e744a5cd79cfe440d52b3c3f0b
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit cefbc1e206effcc6d7dc39d860ab2829d3c3cf2a)
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/OutboundQueueImpl.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/OutboundQueueManager.java