com.isti.trinetwatch.collectionAgentSim
Class SToCa_consumer

java.lang.Object
  extended by _PushConsumerImplBase
      extended by com.isti.trinetwatch.collectionAgentSim.SToCa_consumer

 class SToCa_consumer
extends _PushConsumerImplBase

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


Constructor Summary
SToCa_consumer(com.ooc.CORBA.BOA boa, PushSupplier supplier, CaToS_statp sp)
          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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SToCa_consumer

SToCa_consumer(com.ooc.CORBA.BOA boa,
               PushSupplier supplier,
               CaToS_statp sp)
Creates an object of SToCa_consumer.

Parameters:
boa - A handle to the boa being used.
supplier - A handle to the channel supplying the information.
sp - A handle to an instance of a CaToS_statp object.
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.