org.omg.CosNotifyComm
Class _PushConsumerStub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.CosNotifyComm._PushConsumerStub
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, PushConsumer, PushConsumerOperations, NotifyPublish, NotifyPublishOperations

public class _PushConsumerStub
extends org.omg.CORBA.portable.ObjectImpl
implements PushConsumer

The PushConsumer interface supports the functionality required by notification service consumers that receive events as Anys using push-style communication. This interface defines no new attributes or operations directly. Instead, it multiply inherits the PushConsumer interface defined in the CosEventComm module of the OMG Event Service, and the NotifyPublish interface described above. This enables push-style consumers of Any events to also receive offer_change messages from the channel, allowing it to learn about changes to the types of events being offered to the channel by suppliers.

See Also:
Serialized Form

Constructor Summary
_PushConsumerStub()
           
 
Method Summary
 java.lang.String[] _ids()
           
 void disconnect_push_consumer()
          Operation disconnect_push_consumer
 void offer_change(EventType[] added, EventType[] removed)
          Operation offer_change
 void push(org.omg.CORBA.Any data)
          Operation push
 
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

_PushConsumerStub

public _PushConsumerStub()
Method Detail

_ids

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

offer_change

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

Specified by:
offer_change in interface NotifyPublishOperations
Throws:
InvalidEventType

push

public void push(org.omg.CORBA.Any data)
          throws Disconnected
Operation push

Specified by:
push in interface PushConsumerOperations
Throws:
Disconnected

disconnect_push_consumer

public void disconnect_push_consumer()
Operation disconnect_push_consumer

Specified by:
disconnect_push_consumer in interface PushConsumerOperations