org.omg.CosNotifyComm
Class StructuredPushConsumerPOATie

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosNotifyComm.StructuredPushConsumerPOA
          extended by org.omg.CosNotifyComm.StructuredPushConsumerPOATie
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, NotifyPublishOperations, StructuredPushConsumerOperations

public class StructuredPushConsumerPOATie
extends StructuredPushConsumerPOA

The StructuredPushConsumer interface supports an operation which enables consumers to receive 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 StructuredPushConsumer 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 StructuredPushConsumer interface can receive all events which were supplied to its associated channel, including events supplied in a form other than a Structured Event. How events supplied to the channel in other forms are internally mapped into a Structured Event for delivery to a StructuredPushConsumer is summarized in Table 2-2.


Constructor Summary
StructuredPushConsumerPOATie(StructuredPushConsumerOperations tieObject)
          Constructor
StructuredPushConsumerPOATie(StructuredPushConsumerOperations tieObject, org.omg.PortableServer.POA poa)
          Constructor
 
Method Summary
 org.omg.PortableServer.POA _default_POA()
          _default_POA method
 StructuredPushConsumerOperations _delegate()
          Get the delegate
 void _delegate(StructuredPushConsumerOperations delegate_)
          Set the delegate
 void disconnect_structured_push_consumer()
          Operation disconnect_structured_push_consumer
 void offer_change(EventType[] added, EventType[] removed)
          Operation offer_change
 void push_structured_event(StructuredEvent notification)
          Operation push_structured_event
 
Methods inherited from class org.omg.CosNotifyComm.StructuredPushConsumerPOA
_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

StructuredPushConsumerPOATie

public StructuredPushConsumerPOATie(StructuredPushConsumerOperations tieObject)
Constructor


StructuredPushConsumerPOATie

public StructuredPushConsumerPOATie(StructuredPushConsumerOperations tieObject,
                                    org.omg.PortableServer.POA poa)
Constructor

Method Detail

_delegate

public StructuredPushConsumerOperations _delegate()
Get the delegate


_delegate

public void _delegate(StructuredPushConsumerOperations 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_event

public void push_structured_event(StructuredEvent notification)
                           throws Disconnected
Operation push_structured_event

Throws:
Disconnected

disconnect_structured_push_consumer

public void disconnect_structured_push_consumer()
Operation disconnect_structured_push_consumer


offer_change

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

Throws:
InvalidEventType