Package com.sshtools.client
Class LocalForwardingChannelFactoryImpl
java.lang.Object
com.sshtools.synergy.nio.ClientAcceptor
com.sshtools.synergy.ssh.SocketListeningForwardingChannelFactoryImpl<SshClientContext>
com.sshtools.client.LocalForwardingChannelFactoryImpl
- All Implemented Interfaces:
com.sshtools.synergy.ssh.ForwardingChannelFactory<SshClientContext>
public class LocalForwardingChannelFactoryImpl
extends com.sshtools.synergy.ssh.SocketListeningForwardingChannelFactoryImpl<SshClientContext>
Implements the configuration of a local forwarding listening socket.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sshtools.synergy.ssh.SocketListeningForwardingChannelFactoryImpl
com.sshtools.synergy.ssh.SocketListeningForwardingChannelFactoryImpl.ActiveTunnelManager<K extends com.sshtools.synergy.ssh.SshContext>
-
Field Summary
Fields inherited from class com.sshtools.synergy.ssh.SocketListeningForwardingChannelFactoryImpl
activeRemoteForwardings, addr, addressToBind, channelType, connection, portToBind, socketChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.sshtools.synergy.ssh.ForwardingChannel<SshClientContext>
createChannel
(String channelType, com.sshtools.common.ssh.SshConnection con, String addressToBind, int portToBind, SocketChannel sc, SshClientContext context) int
int
Methods inherited from class com.sshtools.synergy.ssh.SocketListeningForwardingChannelFactoryImpl
belongsTo, bindInterface, bindInterface, finishAccept, getActiveTunnelManager, stopAccepting, stopListening
Methods inherited from class com.sshtools.synergy.nio.ClientAcceptor
finishAccept
-
Constructor Details
-
LocalForwardingChannelFactoryImpl
-
-
Method Details
-
getChannelType
-
getStartedEventCode
public int getStartedEventCode() -
getStoppedEventCode
public int getStoppedEventCode() -
createChannel
protected com.sshtools.synergy.ssh.ForwardingChannel<SshClientContext> createChannel(String channelType, com.sshtools.common.ssh.SshConnection con, String addressToBind, int portToBind, SocketChannel sc, SshClientContext context) - Specified by:
createChannel
in classcom.sshtools.synergy.ssh.SocketListeningForwardingChannelFactoryImpl<SshClientContext>
-