com.phoenix_int.aserver.util
Class Hierarchy
com.phoenix_int.aserver.util.IPHXStreamRegExListener
Declaration
java.lang.Process with a system dependent process ID. This is combined with the phxspawn and phxps utilities to provide information on sub-processes in a semi-platform independent way.
Constructor Summary
Method Summary
Methods inherited from class java.lang.Process
destroyForcibly, isAlive, waitFor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
PHXProcess
PHXProcess out of a process and optionally reads the PID of the sub-process. Typically you do not create instances of this class yourself, but use PHXRuntime.exec2() to generate instances.
Parameters:
readPID- If true, the PID of this process will be read off of the process’s standard output. The pid should be a number and should be on the very first line of output all by itself.
PHXProcess
PHXProcess
PHXProcess instances.
Method Detail
matchFound
com.phoenix_int.aserver.util.IPHXStreamRegExListener.
Signals that a match was found.
Specified by:
matchFoundin interfacecom.phoenix_int.aserver.util.IPHXStreamRegExListener
patNum- The index of the pattern that matchedpat- The matching patternline- The matching linematch- The MatchResult object which describes the match
trueto continue searching for this pattern,falseto remove the pattern from the pattern list.
getJobID
getJobNode
getProcess
getProcessID
java.io.IOException
listProcesses
IPHXMonitorable.listProcesses().
Throws:
java.io.IOException
destroy
destroyin classjava.lang.Process
exitValue
exitValuein classjava.lang.Process
waitFor
waitForin classjava.lang.Process
java.lang.InterruptedException
wrapInputStream
wrapErrorStream
getInputStream
getInputStreamin classjava.lang.Process
getErrorStream
getErrorStreamin classjava.lang.Process
getOutputStream
getOutputStreamin classjava.lang.Process