PROTOTYPE
Not reviewed yet: use at your own risk!

satin.remotelauncher
Class RemoteProcess

java.lang.Object
  |
  +--satin.aro.AROobject
        |
        +--satin.aro.AROremoteObject
              |
              +--satin.remotelauncher.RemoteProcess

public class RemoteProcess
extends AROremoteObject

Represents a process on a remote system, accessed through the RemoteLauncher. This class implements some of the methods of the standard Java Process class. Each object represents a process that is running on the system on which a RemoteLauncher is running. Remote processes are created by calling RemoteLauncher.exec.

This class does not have a public constructor. Objects of this class can only be created by the RemoteLauncher.exec. method.

Author:
Ed Stauff

Fields inherited from class satin.aro.AROremoteObject
server
 
Fields inherited from class satin.aro.AROobject
id
 
Method Summary
void destroy()
          Destroys (kills) the remote process.
int waitFor()
          Waits for the remote process to complete and returns its exit code.
 
Methods inherited from class satin.aro.AROremoteObject
equals, exists, getAROclassName
 
Methods inherited from class satin.aro.AROobject
getID, setID, toAROstring, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

destroy

public void destroy()
             throws java.io.IOException,
                    AROexception
Destroys (kills) the remote process. See Process.destroy.

waitFor

public int waitFor()
            throws java.io.IOException,
                   AROexception
Waits for the remote process to complete and returns its exit code. An exit code of 0 normally means success. See Process.waitFor.
Revision History

6/19/01 Ed Stauff - made changes per API review.

4/17/01 Ed Stauff - file created.



Generated on 5/9/2001 19:37 from RemoteProcess.java (PRIVATE SOURCES)