com.isti.openorbutil
Class EvtChConsumer.StructuredEventPushCallBack

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosNotifyComm.StructuredPushConsumerPOA
          extended by com.isti.openorbutil.EvtChConsumer.StructuredEventPushCallBack
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, org.omg.CosNotifyComm.NotifyPublishOperations, org.omg.CosNotifyComm.StructuredPushConsumerOperations
Enclosing class:
EvtChConsumer

protected class EvtChConsumer.StructuredEventPushCallBack
extends org.omg.CosNotifyComm.StructuredPushConsumerPOA

Class StructuredEventPushCallBack receives structured-event messages from the event channel and passes them back to the parent class.


Constructor Summary
protected EvtChConsumer.StructuredEventPushCallBack()
           
 
Method Summary
 void disconnect_structured_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_structured_event(org.omg.CosNotification.StructuredEvent evtObj)
          This method is called when an object arrives over the event channel.
 
Methods inherited from class org.omg.CosNotifyComm.StructuredPushConsumerPOA
_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.StructuredEventPushCallBack

protected EvtChConsumer.StructuredEventPushCallBack()
Method Detail

push_structured_event

public void push_structured_event(org.omg.CosNotification.StructuredEvent evtObj)
This method is called when an object arrives over the event channel. The object is passed back to the parent class.

Specified by:
push_structured_event in interface org.omg.CosNotifyComm.StructuredPushConsumerOperations
Specified by:
push_structured_event in class org.omg.CosNotifyComm.StructuredPushConsumerPOA
Parameters:
evtObj - the received object.

disconnect_structured_push_consumer

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

Specified by:
disconnect_structured_push_consumer in interface org.omg.CosNotifyComm.StructuredPushConsumerOperations
Specified by:
disconnect_structured_push_consumer in class org.omg.CosNotifyComm.StructuredPushConsumerPOA

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.StructuredPushConsumerPOA
Parameters:
added - event types to be added.
removed - event types to be removed.