Package com.sshtools.synergy.ssh
Interface ChannelFactory<T extends SshContext>
- All Known Implementing Classes:
CompoundChannelFactory
public interface ChannelFactory<T extends SshContext>
-
Method Summary
Modifier and TypeMethodDescriptioncreateChannel(String channeltype, SshConnection con) createSubsystem(String name, SessionChannel session) executeCommand(SessionChannel channel, String[] args, Map<String, String> environment)
-
Method Details
-
supportedCommands
ComponentFactory<ExecutableCommand> supportedCommands() -
createChannel
ChannelNG<T> createChannel(String channeltype, SshConnection con) throws UnsupportedChannelException, PermissionDeniedException, ChannelOpenException -
createSubsystem
Subsystem createSubsystem(String name, SessionChannel session) throws UnsupportedChannelException, PermissionDeniedException -
executeCommand
ExecutableCommand executeCommand(SessionChannel channel, String[] args, Map<String, String> environment) throws PermissionDeniedException, UnsupportedChannelException
-