Split out ClientTransportChannelListener 37/110337/3
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 25 Feb 2024 10:14:28 +0000 (11:14 +0100)
committerRobert Varga <nite@hq.sk>
Sun, 25 Feb 2024 11:05:05 +0000 (11:05 +0000)
commit4dbeb7b2bca6f7c8297d4211560c6f581a505678
tree662411c49915c5ac882ec08f6fff9f987080c00a
parent02e8961f3c112efd08b27022797afa67245225fc
Split out ClientTransportChannelListener

Promote this record to a top-level class, so that it can be tested
easily.

While we are at it, allocate it in a single place and make sure we do
not retain a reference to configuration.

JIRA: NETCONF-590
Change-Id: I8eace1bd10ed6f2810d9bc85020d843f2558bcde
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
protocol/netconf-client/src/main/java/org/opendaylight/netconf/client/ClientTransportChannelListener.java [new file with mode: 0644]
protocol/netconf-client/src/main/java/org/opendaylight/netconf/client/NetconfClientFactoryImpl.java