CosNotifyComm::SequencePullSupplier Interface Reference

An interface for sequences pull suppliers. More...

import "CosNotifyComm.idl";

Inherits CosNotifyComm::NotifySubscribe.

Inherited by CosNotifyChannelAdmin::SequenceProxyPullSupplier, and CosNotifyCommAck::SequencePullSupplierAck.

List of all members.

Public Member Functions

CosNotification::EventBatch pull_structured_events (in long max_number) raises (CosEventComm::Disconnected)
 Pull a sequence of events from this supplier max_number - The maximum number of events to retrieve.
CosNotification::EventBatch try_pull_structured_events (in long max_number, out boolean has_event) raises (CosEventComm::Disconnected)
 Try to pull a sequence of structured events from this supplier.
void disconnect_sequence_pull_supplier ()
 Disconnect this pull supplier.


Detailed Description

An interface for sequences pull suppliers.


Member Function Documentation

void CosNotifyComm::SequencePullSupplier::disconnect_sequence_pull_supplier (  ) 

Disconnect this pull supplier.

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

Pull a sequence of events from this supplier max_number - The maximum number of events to retrieve.

Returns:
The event sequence. Disconnected If this supplier is disconnected.

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

Try to pull a sequence of structured events from this supplier.

max_number - The maximum number of events to retrieve. has_event - boolean indicating if supplier has an event.

Returns:
The event sequence. Disconnected If this supplier is disconnected.