All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.rmi.server.RemoteObject | +----java.rmi.server.RemoteServer | +----java.rmi.server.UnicastRemoteObject | +----COM.meitca.concordia.event.EventNotifyImpl | +----COM.meitca.concordia.event.EventQueueImpl
makeEventHandler
method, with an argument of
false
.
It implements the
EventPost
interface via an event queue.
The queue has an associated thread started by the constructor.
Event notification is performed by appending an event to the queue.
Periodically, the queue's thread dequeues events and invokes the
event handler.
The class
EventNotifyImpl
should be used if synchronous event notification
is required.
EventPost postEvent()
method that asynchronously
handles the event by enqueueing it and waking up the queue's thread.
EventPost postEvents()
method that asynchronously
handles the events by enqueueing them and waking up the queue's thread.
public EventQueueImpl(EventHandler handler) throws RemoteException
this
reference.
public EventQueueImpl(EventHandler handler, long timeout) throws RemoteException
this
reference.
public synchronized void postEvent(MobileClassWrapper eventWrapper) throws EventException
EventPost postEvent()
method that asynchronously
handles the event by enqueueing it and waking up the queue's thread.
public synchronized void postEvents(Vector events) throws EventException, IOException
EventPost postEvents()
method that asynchronously
handles the events by enqueueing them and waking up the queue's thread.
protected final synchronized void enqueue(EventType event)
protected final synchronized EventType dequeue() throws ArrayIndexOutOfBoundsException
public final void flush()
public final synchronized void shutdown()
All Packages Class Hierarchy This Package Previous Next Index