Package com.sshtools.server
Class RemoteForwardingChannelFactoryImpl
java.lang.Object
com.sshtools.synergy.nio.ClientAcceptor
com.sshtools.synergy.ssh.SocketListeningForwardingChannelFactoryImpl<SshServerContext>
com.sshtools.server.RemoteForwardingChannelFactoryImpl
- All Implemented Interfaces:
com.sshtools.synergy.ssh.ForwardingChannelFactory<SshServerContext>
public class RemoteForwardingChannelFactoryImpl
extends com.sshtools.synergy.ssh.SocketListeningForwardingChannelFactoryImpl<SshServerContext>
-
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
FieldsFields 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<SshServerContext>
createChannel
(String channelType, com.sshtools.common.ssh.SshConnection con, String addressToBind, int portToBind, SocketChannel sc, SshServerContext 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
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
RemoteForwardingChannelFactoryImpl
public RemoteForwardingChannelFactoryImpl()
-
-
Method Details
-
getChannelType
-
getStartedEventCode
public int getStartedEventCode() -
getStoppedEventCode
public int getStoppedEventCode() -
createChannel
protected com.sshtools.synergy.ssh.ForwardingChannel<SshServerContext> createChannel(String channelType, com.sshtools.common.ssh.SshConnection con, String addressToBind, int portToBind, SocketChannel sc, SshServerContext context) - Specified by:
createChannel
in classcom.sshtools.synergy.ssh.SocketListeningForwardingChannelFactoryImpl<SshServerContext>
-