|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.sys.PipePair
public abstract class PipePair
An abstract class for creating a pair of pipes wired up to a child process, with OUT wired to the child's STDIN, and IN wired to the child's stdout. The child process is created using the method spawn.
Field Summary | |
---|---|
FileDescriptor |
in
Read from this file descriptor. |
FileDescriptor |
out
Write to this file descriptor. |
ProcessIdentifier |
pid
File descriptor of process wired to the pipe. |
Method Summary | |
---|---|
static PipePair |
child(String[] args)
|
void |
close()
Shut down the pipes. |
static PipePair |
daemon(String[] args)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final FileDescriptor out
public final FileDescriptor in
public final ProcessIdentifier pid
Method Detail |
---|
public void close()
public static PipePair daemon(String[] args)
public static PipePair child(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |