Expose {SSH,TLS}TransportChannel 26/113426/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 4 Sep 2024 13:00:43 +0000 (15:00 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 4 Sep 2024 13:01:52 +0000 (15:01 +0200)
Knowing the identity of underlying TransportChannel is needed to
accurately report their type. Expose the two implementations, as
{TCP,HTTP}TransportChannel are already exposed.

Change-Id: Iaaca2b92b1df9bedbb278f8c0f0e9d48c617e3d6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
transport/transport-ssh/src/main/java/org/opendaylight/netconf/transport/ssh/SSHTransportChannel.java
transport/transport-tls/src/main/java/org/opendaylight/netconf/transport/tls/TLSTransportChannel.java

index 41bd6061e39f1ca502f280514bdea285bc8e1d2d..4859a91d40fa369012327f2d6fe978443a366884 100644 (file)
@@ -10,7 +10,7 @@ package org.opendaylight.netconf.transport.ssh;
 import org.opendaylight.netconf.transport.api.AbstractOverlayTransportChannel;
 import org.opendaylight.netconf.transport.api.TransportChannel;
 
-final class SSHTransportChannel extends AbstractOverlayTransportChannel {
+public final class SSHTransportChannel extends AbstractOverlayTransportChannel {
     SSHTransportChannel(final TransportChannel tcp) {
         super(tcp);
     }
index 336e863d3bac77a716a988c93bfd62e4a3cd3a80..1aa34d9671cc04e127fd625a30b6ead290e6d70e 100644 (file)
@@ -10,7 +10,7 @@ package org.opendaylight.netconf.transport.tls;
 import org.opendaylight.netconf.transport.api.AbstractOverlayTransportChannel;
 import org.opendaylight.netconf.transport.api.TransportChannel;
 
-final class TLSTransportChannel extends AbstractOverlayTransportChannel {
+public final class TLSTransportChannel extends AbstractOverlayTransportChannel {
     TLSTransportChannel(final TransportChannel tcp) {
         super(tcp);
     }