|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.Prominic.runtime.DefaultUnixProcess
public class DefaultUnixProcess
Insert the type's description here. Creation date: (8/17/2001 3:43:28 PM)
| Field Summary | |
|---|---|
private UnixProcess |
process
|
private boolean |
running
|
private java.io.InputStream |
stderr
|
private java.io.OutputStream |
stdin
|
private java.io.InputStream |
stdout
|
| Constructor Summary | |
|---|---|
DefaultUnixProcess()
DefaultUnixProcess constructor comment. |
|
DefaultUnixProcess(UnixProcess process)
DefaultUnixProcess constructor comment. |
|
| 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. |
void |
finalize()
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. |
protected UnixProcess |
getProcess()
Insert the method's description here. |
boolean |
isRunning()
Insert the method's description here. |
void |
removeProcessEventListener(ProcessEventListener listener)
Insert the method's description here. |
protected void |
setProcess(UnixProcess newProcess)
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private UnixProcess process
private boolean running
private java.io.OutputStream stdin
private java.io.InputStream stdout
private java.io.InputStream stderr
| Constructor Detail |
|---|
public DefaultUnixProcess()
public DefaultUnixProcess(UnixProcess process)
| Method Detail |
|---|
public void addProcessEventListener(ProcessEventListener listener)
throws java.lang.IllegalThreadStateException
addProcessEventListener in interface NProcesslistener - com.Prominic.jdi.spawning.ProcessEventListener
java.lang.IllegalThreadStateExceptionpublic void destroy()
destroy in interface NProcess
public int exitValue()
throws java.lang.IllegalThreadStateException,
java.lang.InterruptedException,
java.io.IOException,
java.io.FileNotFoundException,
java.lang.SecurityException,
UnixRuntimeException
exitValue in interface NProcessjava.io.IOException - The exception description.
java.lang.IllegalThreadStateException
java.lang.InterruptedException
java.io.FileNotFoundException
java.lang.SecurityException
UnixRuntimeException
public void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable - The exception description.
public java.io.InputStream getErrorStream()
throws java.io.IOException
getErrorStream in interface NProcessjava.io.IOException - The exception description.
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface NProcessjava.io.IOException - The exception description.
public java.io.OutputStream getOutputStream()
throws java.io.IOException
getOutputStream in interface NProcessjava.io.IOException - The exception description.
public int getPid()
throws java.lang.IllegalThreadStateException
getPid in interface NProcessjava.lang.IllegalThreadStateException - The exception description.protected UnixProcess getProcess()
public boolean isRunning()
isRunning in interface NProcesspublic void removeProcessEventListener(ProcessEventListener listener)
removeProcessEventListener in interface NProcesslistener - com.Prominic.jdi.spawning.ProcessEventListenerprotected void setProcess(UnixProcess newProcess)
newProcess - com.Prominic.runtime.UnixProcess
public void signal(int signal)
throws java.io.IOException
signal in interface NProcesssignal - int
java.io.IOException - The exception description.
public void waitFor()
throws java.lang.InterruptedException
waitFor in interface NProcesstime - int
java.lang.InterruptedException - The exception description.
public void waitFor(long time)
throws java.lang.InterruptedException
waitFor in interface NProcesstime - int
java.lang.InterruptedException - The exception description.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||