org.omg.CosNotifyComm
Class _SequencePullSupplierStub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.CosNotifyComm._SequencePullSupplierStub
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, NotifySubscribe, NotifySubscribeOperations, SequencePullSupplier, SequencePullSupplierOperations

public class _SequencePullSupplierStub
extends org.omg.CORBA.portable.ObjectImpl
implements SequencePullSupplier

The SequencePullSupplier interface supports operations which enable suppliers to transmit sequences of Structured Events by the pull model. It also defines an operation which can be invoked to disconnect the pull supplier from its associated consumer. In addition, the SequencePullSupplier interface inherits the NotifySubscribe interface described above, enabling a notification consumer to inform an instance supporting this interface whenever there is a change to the types of events it is interested in receiving. Note that an object supporting the SequencePullSupplier interface can transmit events which can potentially be received by any consumer connected to the channel, including those which consume events in a form other than a sequence of Structured Events. How events supplied to the channel in the form of a sequence of Structured Events are internally mapped into different forms for delivery to consumers which receive events in a form other than the a sequence of Structured Events is summarized in Table 2-2.

See Also:
Serialized Form

Constructor Summary
_SequencePullSupplierStub()
           
 
Method Summary
 java.lang.String[] _ids()
           
 void disconnect_sequence_pull_supplier()
          Operation disconnect_sequence_pull_supplier
 StructuredEvent[] pull_structured_events(int max_number)
          Operation pull_structured_events
 void subscription_change(EventType[] added, EventType[] removed)
          Operation subscription_change
 StructuredEvent[] try_pull_structured_events(int max_number, org.omg.CORBA.BooleanHolder has_event)
          Operation try_pull_structured_events
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

_SequencePullSupplierStub

public _SequencePullSupplierStub()
Method Detail

_ids

public java.lang.String[] _ids()
Specified by:
_ids in class org.omg.CORBA.portable.ObjectImpl

pull_structured_events

public StructuredEvent[] pull_structured_events(int max_number)
                                         throws Disconnected
Operation pull_structured_events

Specified by:
pull_structured_events in interface SequencePullSupplierOperations
Throws:
Disconnected

try_pull_structured_events

public StructuredEvent[] try_pull_structured_events(int max_number,
                                                    org.omg.CORBA.BooleanHolder has_event)
                                             throws Disconnected
Operation try_pull_structured_events

Specified by:
try_pull_structured_events in interface SequencePullSupplierOperations
Throws:
Disconnected

disconnect_sequence_pull_supplier

public void disconnect_sequence_pull_supplier()
Operation disconnect_sequence_pull_supplier

Specified by:
disconnect_sequence_pull_supplier in interface SequencePullSupplierOperations

subscription_change

public void subscription_change(EventType[] added,
                                EventType[] removed)
                         throws InvalidEventType
Operation subscription_change

Specified by:
subscription_change in interface NotifySubscribeOperations
Throws:
InvalidEventType