com.Prominic.runtime
Interface NProcess

All Known Implementing Classes:
DefaultNProcess, DefaultUnixProcess

public interface NProcess

Insert the type's description here. Creation date: (8/13/2001 2:42:30 PM)


Method Summary
 void addProcessEventListener(ProcessEventListener listener)
          Insert the method's description here.
 void destroy()
          Insert the method's description here.
 int exitValue()
          Insert the method's description here.
 java.io.InputStream getErrorStream()
          Insert the method's description here.
 java.io.InputStream getInputStream()
          Insert the method's description here.
 java.io.OutputStream getOutputStream()
          Insert the method's description here.
 int getPid()
          Insert the method's description here.
 boolean isRunning()
          Insert the method's description here.
 void removeProcessEventListener(ProcessEventListener listener)
          Insert the method's description here.
 void signal(int signal)
          Insert the method's description here.
 void waitFor()
          Insert the method's description here.
 void waitFor(long time)
          Insert the method's description here.
 

Method Detail

addProcessEventListener

void addProcessEventListener(ProcessEventListener listener)
Insert the method's description here. Creation date: (8/13/2001 2:49:00 PM)

Parameters:
listener - com.Prominic.jdi.spawning.ProcessEventListener

destroy

void destroy()
Insert the method's description here. Creation date: (8/13/2001 2:45:51 PM)

Parameters:
signal - int
Throws:
java.io.IOException - The exception description.

exitValue

int exitValue()
              throws java.lang.IllegalThreadStateException,
                     java.lang.InterruptedException,
                     java.io.IOException,
                     java.io.FileNotFoundException,
                     java.lang.SecurityException,
                     UnixRuntimeException
Insert the method's description here. Creation date: (8/13/2001 2:43:08 PM)

Returns:
int
Throws:
java.io.IOException - The exception description.
java.lang.IllegalThreadStateException
java.lang.InterruptedException
java.io.FileNotFoundException
java.lang.SecurityException
UnixRuntimeException

getErrorStream

java.io.InputStream getErrorStream()
                                   throws java.io.IOException
Insert the method's description here. Creation date: (8/13/2001 2:44:27 PM)

Returns:
java.io.InputStream
Throws:
java.io.IOException - The exception description.

getInputStream

java.io.InputStream getInputStream()
                                   throws java.io.IOException
Insert the method's description here. Creation date: (8/13/2001 2:43:44 PM)

Returns:
java.io.InputStream
Throws:
java.io.IOException - The exception description.

getOutputStream

java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
Insert the method's description here. Creation date: (8/13/2001 2:44:54 PM)

Returns:
java.io.OutputStream
Throws:
java.io.IOException - The exception description.

getPid

int getPid()
           throws java.lang.IllegalThreadStateException
Insert the method's description here. Creation date: (8/17/2001 4:57:15 PM)

Returns:
int
Throws:
java.lang.IllegalThreadStateException - The exception description.

isRunning

boolean isRunning()
Insert the method's description here. Creation date: (8/14/2001 2:51:39 PM)

Returns:
boolean

removeProcessEventListener

void removeProcessEventListener(ProcessEventListener listener)
Insert the method's description here. Creation date: (8/13/2001 2:49:00 PM)

Parameters:
listener - com.Prominic.jdi.spawning.ProcessEventListener

signal

void signal(int signal)
            throws java.io.IOException
Insert the method's description here. Creation date: (8/13/2001 2:45:51 PM)

Parameters:
signal - int
Throws:
java.io.IOException - The exception description.

waitFor

void waitFor()
             throws java.lang.InterruptedException
Insert the method's description here. Creation date: (8/15/2001 11:40:14 AM)

Parameters:
time - int
Throws:
java.lang.InterruptedException - The exception description.

waitFor

void waitFor(long time)
             throws java.lang.InterruptedException
Insert the method's description here. Creation date: (8/15/2001 11:40:14 AM)

Parameters:
time - int
Throws:
java.lang.InterruptedException - The exception description.