org.omg.CosNotifyComm
Class SequencePushConsumerPOATie

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosNotifyComm.SequencePushConsumerPOA
          extended by org.omg.CosNotifyComm.SequencePushConsumerPOATie
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, NotifyPublishOperations, SequencePushConsumerOperations

public class SequencePushConsumerPOATie
extends SequencePushConsumerPOA

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.


Constructor Summary
SequencePushConsumerPOATie(SequencePushConsumerOperations tieObject)
          Constructor
SequencePushConsumerPOATie(SequencePushConsumerOperations tieObject, org.omg.PortableServer.POA poa)
          Constructor
 
Method Summary
 org.omg.PortableServer.POA _default_POA()
          _default_POA method
 SequencePushConsumerOperations _delegate()
          Get the delegate
 void _delegate(SequencePushConsumerOperations delegate_)
          Set the delegate
 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.CosNotifyComm.SequencePushConsumerPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequencePushConsumerPOATie

public SequencePushConsumerPOATie(SequencePushConsumerOperations tieObject)
Constructor


SequencePushConsumerPOATie

public SequencePushConsumerPOATie(SequencePushConsumerOperations tieObject,
                                  org.omg.PortableServer.POA poa)
Constructor

Method Detail

_delegate

public SequencePushConsumerOperations _delegate()
Get the delegate


_delegate

public void _delegate(SequencePushConsumerOperations delegate_)
Set the delegate


_default_POA

public org.omg.PortableServer.POA _default_POA()
_default_POA method

Overrides:
_default_POA in class org.omg.PortableServer.Servant

push_structured_events

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

Throws:
Disconnected

disconnect_sequence_push_consumer

public void disconnect_sequence_push_consumer()
Operation disconnect_sequence_push_consumer


offer_change

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

Throws:
InvalidEventType