Eliminate CallHomeSessionContext.nettyChannel 24/89824/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 29 Apr 2020 17:54:00 +0000 (19:54 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 15 May 2020 09:21:36 +0000 (11:21 +0200)
commit12abde2a9ca33ec44cd89c97559c96c7bd7f56a8
tree7d573f6322d8921ffa3c014604cc102551af99cb
parent5de591cabe93f24c23e21106634419823a956327
Eliminate CallHomeSessionContext.nettyChannel

Holding a temporary field only for it to be picked up by a callback
does not make sense. Eliminate it and allocate it much later in the
game.

Change-Id: I34b7dbc7244ef1627797c19d5b0d1c046ea46be3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 50e7111dd182ce505d2a01041ff0b1493d440437)
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/CallHomeSessionContext.java