| AbstractSessionNextEvent Method (Int64) |
Returns the next event available for processing on this session.
If no event is available immediately wait for
timeoutMillis milliseconds for an event to arrive.
If no event is received before the timeout expires return a
TIMEOUT event. If the
timeout specified is 0 then wait for an infinite amount of time for an
event to be received. Note that this function cannot be called on a
session that is operating in "asynchronous" mode. That is a session that
was constructed with an EventHandler.
An
EventHandler must not have been provided at
construction.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.25.11.64-experimental+d519cd77c15f00eb425bcde0dbe3273921f5910b
Syntaxpublic abstract Event NextEvent(
long timeoutMillis
)
Public MustOverride Function NextEvent (
timeoutMillis As Long
) As Event
public:
virtual Event^ NextEvent(
long long timeoutMillis
) abstract
abstract NextEvent :
timeoutMillis : int64 -> Event
Parameters
- timeoutMillis
- Type: SystemInt64
Amount of time in milliseconds to wait before this method
returns if no events are available.
Return Value
Type:
Event
The next event available on this session if available before timeout
or
TIMEOUT event if timeout occurs.
Implements
IAbstractSessionNextEvent(Int64)
See Also