|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEmxDispatcherRunCompletionChecker
Interface through which the dispatcher run methods check for completion.
This interface is used by the dispatcher to check for completion of a
dispatcher run. The method drives the dispatcher and queries isDone()
after atleast one event is dispatched. Once isDone()
returns true,
the run methods query getCompletion()
for the run completion data
and return to the invoker of the dispatcher run.
Method Summary | |
---|---|
Object |
getCompletion()
Method queried for run completion data. |
boolean |
isDone()
Method queried for completion of the run. |
Method Detail |
---|
boolean isDone()
This method is invoked to query the completion of the dispatcher run.
The implementation should return true in case the run loop should
return. Upon returning true, the run method will query for the completion
object via getCompletion()
and return the completion object from
the run method.
Object getCompletion() throws Exception
Exception
- Any exception thrown is rethrown by the run method.
This method is queried for completion data after isDone()
returns
true. The object returned or the exception thrown by this method are
returned/thrown by the run method.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |