TIBCO Adapter SDK C++ Reference
MApp::nextEvent
MApp
Dispatches the next event for all the sessions of the MApp. When the time limit has been reached, control returns to the caller.

Return TRUE if an event was dispatched before the timeout, FALSE otherwise.

Remarks
This method differs slightly from MSession::nextEvent(), which dispatches the next event for the MSession in which it is called.

If no event is dispatched within the time limit control returns to the caller.

If, for example, you set the time limit to 1 millisecond and no event occurs in this millisecond (or has occurred in the past and has not yet been reported), this method terminates and no exception is thrown.

Parameters
Parameters Description
ulMillisecTimeout Time limit, in milliseconds.
Declaration
Mboolean nextEvent(unsigned long ulMillisecTimeOut) throw(MException);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.