com.isti.trinetwatch.controlAgentSim
Class SToCtaSim_consumer

java.lang.Object
  extended byorg.omg.CORBA.portable.ObjectImpl
      extended byorg.omg.CORBA.DynamicImplementation
          extended byorg.omg.CosEventComm._PushConsumerImplBase
              extended bycom.isti.trinetwatch.controlAgentSim.SToCtaSim_consumer
All Implemented Interfaces:
org.omg.CORBA.Object, org.omg.CosEventComm.PushConsumer

public class SToCtaSim_consumer
extends org.omg.CosEventComm._PushConsumerImplBase

Class SToCtaSim_Consumer parses the messages coming over the CTRL_MSG event channel from the Server and decides what action needs to be taken.


Field Summary
 
Fields inherited from class org.omg.CosEventComm._PushConsumerImplBase
 
Constructor Summary
(package private) SToCtaSim_consumer(com.ooc.CORBA.BOA boa, org.omg.CosEventComm.PushSupplier supplier, ControlAgentSim ctaObj)
          Creates an object of SToCa_consumer.
 
Method Summary
 void disconnect_push_consumer()
          Disconnect from the event channel.
 void push(org.omg.CORBA.Any any)
          Method push is called automatically when information arrives over the server to collection agent event channel, which it then parses and acts upon.
 
Methods inherited from class org.omg.CosEventComm._PushConsumerImplBase
_ids, invoke
 
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
clone, finalize, 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

SToCtaSim_consumer

SToCtaSim_consumer(com.ooc.CORBA.BOA boa,
                   org.omg.CosEventComm.PushSupplier supplier,
                   ControlAgentSim ctaObj)
Creates an object of SToCa_consumer.

Parameters:
boa - A handle to the boa being used.
supplier - A handle to the channel supplying the information.
Method Detail

disconnect_push_consumer

public void disconnect_push_consumer()
Disconnect from the event channel.


push

public void push(org.omg.CORBA.Any any)
Method push is called automatically when information arrives over the server to collection agent event channel, which it then parses and acts upon.

Parameters:
any - A variable of the CORBA type Any, it contains a message from the server.