com.isti.openorbutil
Class EvtChConsumer.AnyPushCallBack

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosNotifyComm.PushConsumerPOA
          extended by com.isti.openorbutil.EvtChConsumer.AnyPushCallBack
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, org.omg.CosEventComm.PushConsumerOperations, org.omg.CosNotifyComm.NotifyPublishOperations
Enclosing class:
EvtChConsumer

protected class EvtChConsumer.AnyPushCallBack
extends org.omg.CosNotifyComm.PushConsumerPOA

Class AnyPushCallBack receives 'Any' messages from the event channel and passes them back to the parent class.


Constructor Summary
protected EvtChConsumer.AnyPushCallBack()
           
 
Method Summary
 void disconnect_push_consumer()
          Method called when consumer is disconnected from event channel.
 void offer_change(org.omg.CosNotification.EventType[] added, org.omg.CosNotification.EventType[] removed)
          Method implemented to satisfy the PushConsumerPOA interface.
 void push(org.omg.CORBA.Any anyObj)
          This method is called when an object arrives over the event channel.
 
Methods inherited from class org.omg.CosNotifyComm.PushConsumerPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvtChConsumer.AnyPushCallBack

protected EvtChConsumer.AnyPushCallBack()
Method Detail

push

public void push(org.omg.CORBA.Any anyObj)
This method is called when an object arrives over the event channel. The object is passed back to the parent class.

Specified by:
push in interface org.omg.CosEventComm.PushConsumerOperations
Specified by:
push in class org.omg.CosNotifyComm.PushConsumerPOA
Parameters:
anyObj - the received object.

disconnect_push_consumer

public void disconnect_push_consumer()
Method called when consumer is disconnected from event channel.

Specified by:
disconnect_push_consumer in interface org.omg.CosEventComm.PushConsumerOperations
Specified by:
disconnect_push_consumer in class org.omg.CosNotifyComm.PushConsumerPOA

offer_change

public void offer_change(org.omg.CosNotification.EventType[] added,
                         org.omg.CosNotification.EventType[] removed)
Method implemented to satisfy the PushConsumerPOA interface. No action is taken.

Specified by:
offer_change in interface org.omg.CosNotifyComm.NotifyPublishOperations
Specified by:
offer_change in class org.omg.CosNotifyComm.PushConsumerPOA
Parameters:
added - event types to be added.
removed - event types to be removed.