|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OutputHandler
A Handler for process output The OutputHandler interface is designed to allow different output handling strategies to be plugged into process handlers
| Method Summary | |
|---|---|
void |
complete()
Called when the process completes. |
void |
process(java.io.InputStream output)
Process an output stream generated by the external process (either stdout or stderr) |
void |
setWatchdog(Watchdog watchdog)
Set the watchdog that this handler should be resetting to prevent the process from being terminated. |
| Method Detail |
|---|
void process(java.io.InputStream output)
throws ProcessException
output - the external process' output stream (available as an input to this class)
ProcessException - if there is a problem processing the outputvoid complete()
void setWatchdog(Watchdog watchdog)
watchdog - process watchdog instance.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||