com.isti.trinetwatch.collectionAgentSim
Class LevChange_consumer

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

public class LevChange_consumer
extends _PushConsumerImplBase

Class LevChange_consumer parses the messages coming over the event channel from the control agent simulator and updates the given station.


Constructor Summary
LevChange_consumer(com.ooc.CORBA.BOA boa, PushSupplier supplier, CollectionAgentSim caObj)
          Creates an object of LevChange_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 usage level change 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

LevChange_consumer

LevChange_consumer(com.ooc.CORBA.BOA boa,
                   PushSupplier supplier,
                   CollectionAgentSim caObj)
Creates an object of LevChange_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 usage level change event channel, which it then parses and acts upon.

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