| java.lang.Object com.sun.jumpimpl.module.eventqueue.EventQueueModuleImpl
EventQueueModuleImpl | public class EventQueueModuleImpl implements JUMPEventQueueModule(Code) | | Empty implementation of JUMPEventQueueModule .
|
Method Summary | |
public void | load(Map config) Loads the event queue module and starts to receive native events. | public void | registerEventHandler(int type, JUMPEventHandler handler) Registers a handler for events of the given type. | public void | unload() Unloads the event queue module. |
load | public void load(Map config)(Code) | | Loads the event queue module and starts to receive native events.
Parameters: config - properties of this module factory. |
registerEventHandler | public void registerEventHandler(int type, JUMPEventHandler handler)(Code) | | Registers a handler for events of the given type.
Parameters: type - event type, which equals to the number of JSR thatwill handle events. Parameters: handler - a JUMPEventHandler instance thatwill deal with all events of this type. |
unload | public void unload()(Code) | | Unloads the event queue module.
|
|
|