org.eclipse.rse.services.ssh.shell
Class SshHostShell
java.lang.Object
org.eclipse.rse.services.shells.AbstractHostShell
org.eclipse.rse.services.ssh.shell.SshHostShell
- All Implemented Interfaces:
- IHostShell
- public class SshHostShell
- extends AbstractHostShell
- implements IHostShell
A Shell subsystem for SSH.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHELL_INVOCATION
public static final String SHELL_INVOCATION
- See Also:
- Constant Field Values
SshHostShell
public SshHostShell(ISshSessionProvider sessionProvider,
String initialWorkingDirectory,
String commandToRun,
String encoding,
String[] environment)
start
protected void start(IProgressMonitor monitor)
- Connect to remote system and launch Threads for the
shell as needed.
- Parameters:
monitor -
isActive
public boolean isActive()
- Specified by:
isActive in interface IHostShell
getPromptCommand
public String getPromptCommand()
writeToShell
public void writeToShell(String command)
- Specified by:
writeToShell in interface IHostShell
getStandardOutputReader
public IHostShellOutputReader getStandardOutputReader()
- Specified by:
getStandardOutputReader in interface IHostShell
getStandardErrorReader
public IHostShellOutputReader getStandardErrorReader()
- Specified by:
getStandardErrorReader in interface IHostShell
exit
public void exit()
- Specified by:
exit in interface IHostShell
Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.