org.omg.CosNotifyComm
Class _StructuredPushConsumerStub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.CosNotifyComm._StructuredPushConsumerStub
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, NotifyPublish, NotifyPublishOperations, StructuredPushConsumer, StructuredPushConsumerOperations

public class _StructuredPushConsumerStub
extends org.omg.CORBA.portable.ObjectImpl
implements StructuredPushConsumer

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.

See Also:
Serialized Form

Constructor Summary
_StructuredPushConsumerStub()
           
 
Method Summary
 java.lang.String[] _ids()
           
 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.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

_StructuredPushConsumerStub

public _StructuredPushConsumerStub()
Method Detail

_ids

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

push_structured_event

public void push_structured_event(StructuredEvent notification)
                           throws Disconnected
Operation push_structured_event

Specified by:
push_structured_event in interface StructuredPushConsumerOperations
Throws:
Disconnected

disconnect_structured_push_consumer

public void disconnect_structured_push_consumer()
Operation disconnect_structured_push_consumer

Specified by:
disconnect_structured_push_consumer in interface StructuredPushConsumerOperations

offer_change

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

Specified by:
offer_change in interface NotifyPublishOperations
Throws:
InvalidEventType