|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AsyncHandler
Asynchronous execution handler interface. Implementing this interface allows you to react on events that are executed in the XPCOM event processing thread when invoked asynchronously from another thread, using Xpcom.invokeLater()
NOTE: Xpcom.invokeAndWait() calls are not affected by this system.
Method Summary | |
---|---|
void |
after(java.lang.Throwable t)
Called on the XPCOM event processing thread, before the body of asynchronous code is executed. |
void |
before()
Called on the XPCOM event processing thread, before the body of asynchronous code is executed. |
Method Detail |
---|
void before()
void after(java.lang.Throwable t)
t
- an exception that was thrown during asynchronous method
execution, or null if execution completed successfully. This
exception will not be re-thrown by the outside code.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |