public class DefaultClientChannelFactory extends java.lang.Object implements com.sshtools.synergy.ssh.ChannelFactory<SshClientContext>
Constructor and Description |
---|
DefaultClientChannelFactory() |
Modifier and Type | Method and Description |
---|---|
com.sshtools.synergy.ssh.ChannelNG<SshClientContext> |
createChannel(java.lang.String channeltype,
com.sshtools.common.ssh.SshConnection con)
Called when a channel needs to be created.
|
com.sshtools.common.ssh.Subsystem |
createSubsystem(java.lang.String name,
com.sshtools.common.ssh.SessionChannel session)
Request to create a subsystem.
|
com.sshtools.common.command.ExecutableCommand |
executeCommand(com.sshtools.common.ssh.SessionChannel channel,
java.lang.String[] args,
java.util.Map<java.lang.String,java.lang.String> environment) |
protected com.sshtools.synergy.ssh.ChannelNG<SshClientContext> |
onCreateChannel(java.lang.String channeltype,
com.sshtools.common.ssh.SshConnection con) |
com.sshtools.common.ssh.components.ComponentFactory<com.sshtools.common.command.ExecutableCommand> |
supportedCommands() |
public final com.sshtools.synergy.ssh.ChannelNG<SshClientContext> createChannel(java.lang.String channeltype, com.sshtools.common.ssh.SshConnection con) throws com.sshtools.common.ssh.UnsupportedChannelException, com.sshtools.common.permissions.PermissionDeniedException
createChannel
in interface com.sshtools.synergy.ssh.ChannelFactory<SshClientContext>
com.sshtools.common.ssh.UnsupportedChannelException
com.sshtools.common.permissions.PermissionDeniedException
protected com.sshtools.synergy.ssh.ChannelNG<SshClientContext> onCreateChannel(java.lang.String channeltype, com.sshtools.common.ssh.SshConnection con) throws com.sshtools.common.ssh.UnsupportedChannelException, com.sshtools.common.permissions.PermissionDeniedException
com.sshtools.common.ssh.UnsupportedChannelException
com.sshtools.common.permissions.PermissionDeniedException
public com.sshtools.common.ssh.Subsystem createSubsystem(java.lang.String name, com.sshtools.common.ssh.SessionChannel session) throws com.sshtools.common.ssh.UnsupportedChannelException, com.sshtools.common.permissions.PermissionDeniedException
createSubsystem
in interface com.sshtools.synergy.ssh.ChannelFactory<SshClientContext>
com.sshtools.common.ssh.UnsupportedChannelException
com.sshtools.common.permissions.PermissionDeniedException
public com.sshtools.common.command.ExecutableCommand executeCommand(com.sshtools.common.ssh.SessionChannel channel, java.lang.String[] args, java.util.Map<java.lang.String,java.lang.String> environment) throws com.sshtools.common.permissions.PermissionDeniedException, com.sshtools.common.ssh.UnsupportedChannelException
executeCommand
in interface com.sshtools.synergy.ssh.ChannelFactory<SshClientContext>
com.sshtools.common.permissions.PermissionDeniedException
com.sshtools.common.ssh.UnsupportedChannelException
public com.sshtools.common.ssh.components.ComponentFactory<com.sshtools.common.command.ExecutableCommand> supportedCommands()
supportedCommands
in interface com.sshtools.synergy.ssh.ChannelFactory<SshClientContext>
Copyright © 2024. All rights reserved.