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:
ForwardingChannelFactory<SshClientContext>
public class LocalForwardingChannelFactoryImpl
extends 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
SocketListeningForwardingChannelFactoryImpl.ActiveTunnelManager<K extends 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 ForwardingChannel<SshClientContext>createChannel(String channelType, SshConnection con, String addressToBind, int portToBind, SocketChannel sc, SshClientContext context) intintMethods inherited from class com.sshtools.synergy.ssh.SocketListeningForwardingChannelFactoryImpl
belongsTo, bindInterface, bindInterface, finishAccept, getActiveTunnelManager, stopAccepting, stopListeningMethods 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 ForwardingChannel<SshClientContext> createChannel(String channelType, SshConnection con, String addressToBind, int portToBind, SocketChannel sc, SshClientContext context) - Specified by:
createChannelin classSocketListeningForwardingChannelFactoryImpl<SshClientContext>
-