com.teamdev.xpcom
Interface AsyncHandlerFactory

All Known Implementing Classes:
DefaultAsyncHandler

public interface AsyncHandlerFactory

Asynchronous execution handling: handler factory. Implementors of this class provide handler objects for asynchronous XPCOM method calls - those resulting from Xpcom.invokeLater().

NOTE: Xpcom.invokeAndWait() calls are not affected by this system.


Method Summary
 AsyncHandler createHandler()
          Create asynchronous execution handler object.
 

Method Detail

createHandler

AsyncHandler createHandler()
Create asynchronous execution handler object. This method is invoked inside the method Xpcom.invokeLater(), in the same thread. Allows to make some immediate preparations, before asynchronous execution is requested. This method is almost always invoked outside of XPCOM event processing thread.

Returns:
The handler object.