| java.lang.Object com.sun.midp.main.ExecuteMIDletEventListener
Method Summary | |
public boolean | preprocess(Event event, Event waitingEvent) Preprocess an event that is being posted to the event queue. | public void | process(Event genericEvent) Process an Execute event to start a new MIDlet. | public void | run() Processes an execute MIDlet event outside of the event thread. | static void | startListening(SecurityToken token, DisplayEventHandler theDisplayEventHandler, EventQueue eventQueue) Start listening for execute MIDlet events. |
preprocess | public boolean preprocess(Event event, Event waitingEvent)(Code) | | Preprocess an event that is being posted to the event queue.
This implementation of the method always return true.
Parameters: event - event being posted Parameters: waitingEvent - previous event of this type waiting in thequeue to be processed true to allow the post to continue |
process | public void process(Event genericEvent)(Code) | | Process an Execute event to start a new MIDlet.
If the MIDlet is already in the ProxyList it will not
start it again.
If the MIDlet/Isolate has decided to exit but has
not yet sent the remove event the execute will be unreliable.
Parameters: genericEvent - event to process |
run | public void run()(Code) | | Processes an execute MIDlet event outside of the event thread.
|
startListening | static void startListening(SecurityToken token, DisplayEventHandler theDisplayEventHandler, EventQueue eventQueue)(Code) | | Start listening for execute MIDlet events.
Parameters: token - security token for initilaization Parameters: theDisplayEventHandler - display event handler Parameters: eventQueue - event queue to work with |
|
|