org.omg.CosNotifyComm
Class _SequencePushConsumerStub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.CosNotifyComm._SequencePushConsumerStub
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, NotifyPublish, NotifyPublishOperations, SequencePushConsumer, SequencePushConsumerOperations

public class _SequencePushConsumerStub
extends org.omg.CORBA.portable.ObjectImpl
implements SequencePushConsumer

The SequencePushConsumer interface supports an operation which enables consumers to receive sequences Structured Events by the push model. It also defines an operation which can be invoked to disconnect the push consumer from its associated supplier. In addition, the SequencePushConsumer interface inherits the NotifyPublish interface described above, enabling a notification supplier to inform an instance supporting this interface whenever there is a change to the types of events it intends to produce. Note that an object supporting the SequencePushConsumer interface can receive all events which were supplied to its associated channel, including events supplied in a form other than a sequence of Structured Events. How events supplied to the channel in other forms are internally mapped into a sequence of Structured Events for delivery to a SequencePushConsumer is summarized in Table 2-2.

See Also:
Serialized Form

Constructor Summary
_SequencePushConsumerStub()
           
 
Method Summary
 java.lang.String[] _ids()
           
 void disconnect_sequence_push_consumer()
          Operation disconnect_sequence_push_consumer
 void offer_change(EventType[] added, EventType[] removed)
          Operation offer_change
 void push_structured_events(StructuredEvent[] notifications)
          Operation push_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

_SequencePushConsumerStub

public _SequencePushConsumerStub()
Method Detail

_ids

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

push_structured_events

public void push_structured_events(StructuredEvent[] notifications)
                            throws Disconnected
Operation push_structured_events

Specified by:
push_structured_events in interface SequencePushConsumerOperations
Throws:
Disconnected

disconnect_sequence_push_consumer

public void disconnect_sequence_push_consumer()
Operation disconnect_sequence_push_consumer

Specified by:
disconnect_sequence_push_consumer in interface SequencePushConsumerOperations

offer_change

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

Specified by:
offer_change in interface NotifyPublishOperations
Throws:
InvalidEventType