org.im4java.test
Class AsyncTestProcessListener
java.lang.Object
org.im4java.test.AsyncTestProcessListener
- All Implemented Interfaces:
- ProcessListener
class AsyncTestProcessListener
- extends java.lang.Object
- implements ProcessListener
Helper-class for method Test.asyncTest. A real-life application would do
something more sensible like update a GUI.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iProcess
private java.lang.Process iProcess
isTerminated
private boolean isTerminated
AsyncTestProcessListener
AsyncTestProcessListener()
processStarted
public void processStarted(java.lang.Process pProcess)
- Description copied from interface:
ProcessListener
- This method is called at process startup.
- Specified by:
processStarted
in interface ProcessListener
processTerminated
public void processTerminated(ProcessEvent pEvent)
- Description copied from interface:
ProcessListener
- This method is called at normal or abnormal process termination.
- Specified by:
processTerminated
in interface ProcessListener
isRunning
public boolean isRunning()
destroy
public void destroy()