public class VirtualChannelFactory extends DefaultServerChannelFactory
commands, LOCAL_FORWARDING_CHANNEL_TYPE
Constructor and Description |
---|
VirtualChannelFactory(CommandFactory<? extends ShellCommand>... factories) |
Modifier and Type | Method and Description |
---|---|
protected com.sshtools.synergy.ssh.ChannelNG<SshServerContext> |
createSessionChannel(com.sshtools.common.ssh.SshConnection con) |
protected CommandFactory<? extends ShellCommand>[] |
getCommandFactories() |
addListener, createChannel, createLocalForwardingChannel, createPublicKeySubsystem, createSftpSubsystem, createSubsystem, executeCommand, onChannelCreated, onCreateChannel, removeListener, supportedCommands
@SafeVarargs public VirtualChannelFactory(CommandFactory<? extends ShellCommand>... factories)
protected com.sshtools.synergy.ssh.ChannelNG<SshServerContext> createSessionChannel(com.sshtools.common.ssh.SshConnection con) throws com.sshtools.common.ssh.UnsupportedChannelException, com.sshtools.common.permissions.PermissionDeniedException
createSessionChannel
in class DefaultServerChannelFactory
com.sshtools.common.ssh.UnsupportedChannelException
com.sshtools.common.permissions.PermissionDeniedException
protected CommandFactory<? extends ShellCommand>[] getCommandFactories()
Copyright © 2022. All rights reserved.