Package com.sshtools.synergy.ssh
Class SocketListeningForwardingChannelFactoryImpl.ActiveTunnelManager<K extends SshContext>
java.lang.Object
com.sshtools.synergy.ssh.SocketListeningForwardingChannelFactoryImpl.ActiveTunnelManager<K>
- All Implemented Interfaces:
ChannelEventListener
- Enclosing class:
- SocketListeningForwardingChannelFactoryImpl<T extends SshContext>
public static class SocketListeningForwardingChannelFactoryImpl.ActiveTunnelManager<K extends SshContext>
extends Object
implements ChannelEventListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceSocketListeningForwardingChannelFactoryImpl.ActiveTunnelManager.TunnelListener<K extends SshContext> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(SocketListeningForwardingChannelFactoryImpl.ActiveTunnelManager.TunnelListener<K> listener) voidvoidonChannelClose(Channel channel) voidonChannelOpen(Channel channel) voidremoveListener(SocketListeningForwardingChannelFactoryImpl.ActiveTunnelManager.TunnelListener<K> listener) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sshtools.common.ssh.ChannelEventListener
onChannelClosing, onChannelDataIn, onChannelDataOut, onChannelEOF, onChannelError, onChannelExtendedData, onWindowAdjust
-
Constructor Details
-
ActiveTunnelManager
public ActiveTunnelManager()
-
-
Method Details
-
addListener
public void addListener(SocketListeningForwardingChannelFactoryImpl.ActiveTunnelManager.TunnelListener<K> listener) -
removeListener
public void removeListener(SocketListeningForwardingChannelFactoryImpl.ActiveTunnelManager.TunnelListener<K> listener) -
getTunnels
-
killAllTunnels
public void killAllTunnels() -
onChannelOpen
- Specified by:
onChannelOpenin interfaceChannelEventListener
-
onChannelClose
- Specified by:
onChannelClosein interfaceChannelEventListener
-