Click or drag to resize
IEventQueue Interface
A queue used to handle replies to requests synchronously.

When a request is submitted, an application can either handle the responses asynchronously as they arrive or use an IEventQueue to handle all responses synchronously. The IEventQueue will only deliver responses to the request(s) it is associated with.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.11.1
Syntax
public interface IEventQueue

The IEventQueue type exposes the following members.

Methods
  NameDescription
Public methodNextEvent
Retrieves the next Event available for processing.

This method is the same as calling NextEvent(Int64) with 0 milliseconds.

Public methodNextEvent(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.

Public methodPurge
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.

Public methodTryNextEvent
Tries to retrieve the next Event available for processing.

This method never blocks.

Top
See Also