| com.sun.midp.events.ListenerTestEventQueue
ListenerTestEventQueue | public class ListenerTestEventQueue extends EventQueue (Code) | | Test event queue. This queue's sendNativeEventToIsolate and post methods
just call the registered event listener directly.
This class is used to test the producer, listener, consumer trio of classes
for an event group.
|
dispatch | void dispatch(Event event)(Code) | | Dispatch the event.
Parameters: event - event to dispatch |
post | public void post(Event event)(Code) | | Post an event to the queue. This version just dispatches
the event directly.
Parameters: event - event to post |
sendNativeEventToIsolate | public void sendNativeEventToIsolate(NativeEvent event, int isolateId)(Code) | | Send a native event to a specific Isolate. This version just dispatches
the event directly.
Parameters: event - a native event Parameters: isolateId - ID of the receiving Isolate |
|
|