org.objectweb.proactive.core.process.ssh
Class SSHNodeProcess

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
                          |
                          +--org.objectweb.proactive.core.process.ssh.SSHJVMProcess
                                |
                                +--org.objectweb.proactive.core.process.ssh.SSHNodeProcess
All Implemented Interfaces:
ExternalProcess, ExternalProcessDecorator, JVMProcess, java.io.Serializable, UniversalProcess

public class SSHNodeProcess
extends SSHJVMProcess

This class has the same functionalities than SSHJVMProcess, except that the class associated with the target JVMProcess ie the class that the target process will start is set automatically to org.objectweb.proactive.core.runtime.startRuntime.

Since:
ProActive 0.9.4
Version:
1.0, 2002/09/20
Author:
ProActive Team
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.objectweb.proactive.core.process.AbstractExternalProcessDecorator
AbstractExternalProcessDecorator.CompositeMessageLogger, AbstractExternalProcessDecorator.CompositeMessageSink
 
Nested classes inherited from class org.objectweb.proactive.core.process.AbstractExternalProcess
AbstractExternalProcess.NullMessageLogger, AbstractExternalProcess.ProcessInputHandler, AbstractExternalProcess.ProcessOutputHandler, AbstractExternalProcess.SimpleMessageSink, AbstractExternalProcess.StandardOutputMessageLogger
 
Field Summary
 
Fields inherited from class org.objectweb.proactive.core.process.ssh.SSHJVMProcess
jvmProcess
 
Fields inherited from class org.objectweb.proactive.core.process.AbstractExternalProcessDecorator
targetProcess
 
Fields inherited from class org.objectweb.proactive.core.process.AbstractExternalProcess
clogger, errorMessageLogger, externalProcess, inputMessageLogger, IS_WINDOWS_SYSTEM, outputMessageSink
 
Fields inherited from class org.objectweb.proactive.core.process.AbstractUniversalProcess
certificateLocation, command, DEFAULT_HOSTNAME, DEFAULT_USERNAME, environment, hostname, isFinished, isStarted, LOCALHOST, privateKeyLocation, securityFile, username
 
Fields inherited from interface org.objectweb.proactive.core.process.UniversalProcess
logger
 
Fields inherited from interface org.objectweb.proactive.core.process.ExternalProcessDecorator
APPEND_TO_COMMAND_COMPOSITION, GIVE_COMMAND_AS_PARAMETER, SEND_TO_OUTPUT_STREAM_COMPOSITION
 
Constructor Summary
SSHNodeProcess()
          Creates a new instance of SSHNodeProcess.
SSHNodeProcess(MessageLogger messageLogger)
          Creates a new instance of SSHNodeProcess.
SSHNodeProcess(MessageLogger inputMessageLogger, MessageLogger errorMessageLogger)
          Creates a new instance of SSHNodeProcess.
 
Methods inherited from class org.objectweb.proactive.core.process.ssh.SSHJVMProcess
getBootClasspath, getClassname, getClasspath, getJavaPath, getLog4jFile, getParameters, getPolicyFile, main, setBootClasspath, setClassname, setClasspath, setJavaPath, setJvmOptions, setLog4jFile, setParameters, setPolicyFile
 
Methods inherited from class org.objectweb.proactive.core.process.ssh.SSHProcess
buildSSHCommand, buildUnixSSHCommand, buildWindowsSSHCommand, internalBuildCommand
 
Methods inherited from class org.objectweb.proactive.core.process.AbstractExternalProcessDecorator
buildCommand, getCompositionType, getTargetProcess, handleOutput, internalStartProcess, setCompositionType, setTargetProcess, toString
 
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.ExternalProcess
getErrorMessageLogger, getInputMessageLogger, getOutputMessageSink, setErrorMessageLogger, setInputMessageLogger, setOutputMessageSink
 
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
 

Constructor Detail

SSHNodeProcess

public SSHNodeProcess()
Creates a new instance of SSHNodeProcess.


SSHNodeProcess

public SSHNodeProcess(MessageLogger messageLogger)
Creates a new instance of SSHNodeProcess.

Parameters:
messageLogger - The logger that handles input and error stream of the target JVMProcess

SSHNodeProcess

public SSHNodeProcess(MessageLogger inputMessageLogger,
                      MessageLogger errorMessageLogger)
Creates a new instance of SSHNodeProcess.

Parameters:
inputMessageLogger - The logger that handles input stream of the target JVMProcess
errorMessageLogger - The logger that handles error stream of the target JVMProcess


Copyright © April 2004 INRIA All Rights Reserved.