org.objectweb.proactive.core.process.ssh
Class SSHProcess
java.lang.Object
|
+--org.objectweb.proactive.core.process.AbstractUniversalProcess
|
+--org.objectweb.proactive.core.process.AbstractExternalProcess
|
+--org.objectweb.proactive.core.process.AbstractExternalProcessDecorator
|
+--org.objectweb.proactive.core.process.ssh.SSHProcess
- All Implemented Interfaces:
- ExternalProcess, ExternalProcessDecorator, java.io.Serializable, UniversalProcess
- Direct Known Subclasses:
- SSHJVMProcess
- public class SSHProcess
- extends AbstractExternalProcessDecorator
The SSHProcess class is able to start any class, of the ProActive library,
using ssh protocol.
For instance:
.......
SSHProcess ssh = new SSHProcess(new SimpleExternalProcess("ls -lsa"));
ssh.setHostname("hostname.domain.fr");
ssh.startProcess();
.....
- Since:
- ProActive 0.9.4
- Version:
- 1.0, 2002/09/20
- Author:
- ProActive Team
- See Also:
- Serialized Form
Fields inherited from class org.objectweb.proactive.core.process.AbstractUniversalProcess |
certificateLocation, command, DEFAULT_HOSTNAME, DEFAULT_USERNAME, environment, hostname, isFinished, isStarted, LOCALHOST, privateKeyLocation, securityFile, username |
Methods inherited from class org.objectweb.proactive.core.process.AbstractExternalProcess |
buildEnvironmentCommand, buildUnixEnvironmentCommand, buildWindowsEnvironmentCommand, getErrorMessageLogger, getInputMessageLogger, getOutputMessageSink, handleError, handleInput, handleProcess, internalStopProcess, internalWaitFor, setErrorMessageLogger, setInputMessageLogger, setOutputMessageSink |
Methods inherited from class org.objectweb.proactive.core.process.AbstractUniversalProcess |
checkStarted, getCertificateLocation, getCommand, getEnvironment, getHostname, getPrivateKeyLocation, getSecurityFile, getUsername, isFinished, isStarted, setCertificateLocation, setEnvironment, setHostname, setPrivateKeyLocation, setSecurityFile, setUsername, startProcess, stopProcess, toString, waitFor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.objectweb.proactive.core.process.UniversalProcess |
getCertificateLocation, getCommand, getEnvironment, getHostname, getPrivateKeyLocation, getSecurityFile, getUsername, isFinished, isStarted, setCertificateLocation, setEnvironment, setHostname, setPrivateKeyLocation, setSecurityFile, setUsername, startProcess, stopProcess, waitFor |
SSHProcess
public SSHProcess()
- Creates a new SSHProcess
Used with XML Descriptor
SSHProcess
public SSHProcess(ExternalProcess targetProcess)
- Creates a new SSHProcess
- Parameters:
targetProcess
- The target process associated to this process. The target process
represents the process that will be launched after logging remote host with ssh protocol
main
public static void main(java.lang.String[] args)
internalBuildCommand
protected java.lang.String internalBuildCommand()
- Specified by:
internalBuildCommand
in class AbstractExternalProcessDecorator
buildSSHCommand
protected java.lang.String buildSSHCommand()
buildUnixSSHCommand
protected java.lang.String buildUnixSSHCommand()
buildWindowsSSHCommand
protected java.lang.String buildWindowsSSHCommand()
Copyright © April 2004 INRIA All Rights Reserved.