J-Integra® Espresso Programming Documentation (API)

PullSupplier.try_pull Method

The try_pull operation does not block: if the event data is available, it returns the event data and sets the has_event parameter to true; if the event is not available, it sets the has_event parameter to false and the event data is returned as long with an undefined value.

Ics.CORBA.Any try_pull(
 out bool a_has_event
);

Parameters

a_has_event
Set to TRUE if there was another event available, FALSE otherwise.

Return Value

The next event if one was available, an Any containing a 'long' with an undefined value otherwise.

Remarks

none

Exceptions

Disconnected if the object considers itself no longer connected to its peer.

See Also

PullSupplier Interface | PullSupplier Members | Ics.CosEventComm Namespace