Interface CosNotifyComm::StructuredPullSupplier

interface StructuredPullSupplier
inherits from CosNotifyComm::NotifySubscribe

The StructuredPullSupplier interface is implemented and registered (connected) by clients who wish to have structured events pulled from them by the channel.



Operation Index

disconnect_structured_pull_supplier
Terminates communication between the target supplier and its consumer.
pull_structured_event
This method blocks the calling thread until the supplier has data available or an exception is raised.
try_pull_structured_event
This method does not block and can be used to poll a pull supplier for events.

Operations

disconnect_structured_pull_supplier
void disconnect_structured_pull_supplier();

Terminates communication between the target supplier and its consumer. Also frees resources allocated by the supplier.


pull_structured_event
CosNotification::StructuredEvent pull_structured_event()
    raises(CosEventComm::Disconnected);

This method blocks the calling thread until the supplier has data available or an exception is raised.

Returns:
A structured event.

try_pull_structured_event
CosNotification::StructuredEvent try_pull_structured_event(out boolean has_event)
    raises(CosEventComm::Disconnected);

This method does not block and can be used to poll a pull supplier for events.

Parameters:
has_event - Set to TRUE if there is an event available, FALSE otherwise.
Returns:
A structured event if has_event is TRUE, undefined otherwise.


Generated by the ORBacus IDL-to-HTML translator (non-commercial)