IEventQueue Methods |
The IEventQueue type exposes the following members.
Name | Description | |
---|---|---|
NextEvent |
Retrieves the next Event available for processing.
This method is the same as calling NextEvent(Int64) with 0 milliseconds. | |
NextEvent(Int64) |
Retrieves the next Event available for processing.
If no event is available immediately, wait for timeoutMillis milliseconds for an event to arrive. If no event is received before the timeout expires returns a TIMEOUT event. If the timeout is specified as 0 then wait for an infinite amount of time for an event to be received. | |
Purge |
Purges any Event objects in this queue which have
not been processed and cancel any pending requests linked
to this IEventQueue.
This queue can subsequently be re-used for a subsequent request. | |
TryNextEvent |
Tries to retrieve the next Event available for processing.
This method never blocks. |