Add AbstractClientChannelInitializer 36/101436/5
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 2 Jun 2022 09:47:20 +0000 (11:47 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 2 Jun 2022 11:50:21 +0000 (13:50 +0200)
commit50aba4430f250f89dcd59a480cef5980475a70cd
tree61ac18b7738c2286d4f4a68e69f4583341d0088a
parent57bfa6dd35ae51496e2c1aecd2ef7755b5203cba
Add AbstractClientChannelInitializer

We have three distinct classes doing essentially the same thing,
add an intermediate abstract class to handle common functionality.

Change-Id: I107e91cbd1c333279a5c9e2f282b8ef1403a7c48
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/netconf-client/src/main/java/org/opendaylight/netconf/client/AbstractClientChannelInitializer.java [new file with mode: 0644]
netconf/netconf-client/src/main/java/org/opendaylight/netconf/client/SshClientChannelInitializer.java
netconf/netconf-client/src/main/java/org/opendaylight/netconf/client/TcpClientChannelInitializer.java
netconf/netconf-client/src/main/java/org/opendaylight/netconf/client/TlsClientChannelInitializer.java
netconf/netconf-client/src/test/java/org/opendaylight/netconf/client/TcpClientChannelInitializerTest.java
netconf/netconf-client/src/test/java/org/opendaylight/netconf/client/TlsClientChannelInitializerTest.java