Interface CosNotifyComm::SequencePullSupplier

interface SequencePullSupplier
inherits from CosNotifyComm::NotifySubscribe

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



Operation Index

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

Operations

disconnect_sequence_pull_supplier
void disconnect_sequence_pull_supplier();

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


pull_structured_events
CosNotification::EventBatch pull_structured_events(in long max_number)
    raises(CosEventComm::Disconnected);

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

Parameters:
max_number - Indicates the maximum number of events to return.
Returns:
A sequence of structured events.

try_pull_structured_events
CosNotification::EventBatch try_pull_structured_events(in long max_number,
                                                       out boolean has_event)
    raises(CosEventComm::Disconnected);

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

Parameters:
max_number - Indicates the maximum number of events to return.
has_event - Set to TRUE if there is at lease one event is available, FALSE otherwise.
Returns:
A sequence of structured events if has_event is TRUE, undefined otherwise.


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