com.isti.trinetwatch.controlAgentSim
Class LevChangeUpdate

java.lang.Object
  extended by _PushSupplierImplBase
      extended by com.isti.trinetwatch.controlAgentSim.LevChangeUpdate

public class LevChangeUpdate
extends _PushSupplierImplBase

LevChangeUpdate reports the change of a level to the NSI Server.


Constructor Summary
LevChangeUpdate(org.omg.CORBA.ORB orb, com.ooc.CORBA.BOA boa, PushConsumer sConsumer, ControlAgentSim ctaSim)
          Creates an object of LevChangeUpdate.
 
Method Summary
 void disconnect_push_supplier()
          Disconnect from the event channel.
 boolean reportUpdate(java.lang.String stationName, int uLevel)
          This method is used to tell the NSI server that the usage level has changed for a given station.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LevChangeUpdate

public LevChangeUpdate(org.omg.CORBA.ORB orb,
                       com.ooc.CORBA.BOA boa,
                       PushConsumer sConsumer,
                       ControlAgentSim ctaSim)
Creates an object of LevChangeUpdate.

Parameters:
orb - A handle to the orb which controls the event channels.
boa - A handle to the boa being used.
sConsumer - A handle to the channel to be used.
cta - A handle to the control agent object.
Method Detail

disconnect_push_supplier

public void disconnect_push_supplier()
Disconnect from the event channel.


reportUpdate

public boolean reportUpdate(java.lang.String stationName,
                            int uLevel)
This method is used to tell the NSI server that the usage level has changed for a given station.