TibrvDispatchable.dispatch()

Method

Declaration

void dispatch()
  throws TibrvException, java.lang.InterruptedException

Purpose

Dispatch an event; if no event is ready, block.

Remarks

If an event is ready to dispatch, then this call dispatches it, and then returns. If no events are waiting, then this call blocks indefinitely while waiting for the object to receive an event.

Both TibrvQueue and TibrvQueueGroup implement this method.

See Also

Interrupting Event Dispatch Threads

TibrvDispatchable

TibrvQueue.dispatch()

Interrupting a Dispatch Call

TibrvQueueGroup.dispatch()