public class LevChange_provider
extends _PushSupplierImplBase
| Constructor and Description |
|---|
LevChange_provider(org.omg.CORBA.ORB orb,
com.ooc.CORBA.BOA boa,
PushConsumer sConsumer)
Creates an object of LevChange_provider.
|
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect_push_supplier()
Disconnect from the event channel.
|
void |
sendMessage(java.lang.String stationName,
int uLevel)
send a message to the collection agent informing the collection agent of
a change in the usage level for the given station.
|
LevChange_provider(org.omg.CORBA.ORB orb,
com.ooc.CORBA.BOA boa,
PushConsumer sConsumer)
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.public void disconnect_push_supplier()
public void sendMessage(java.lang.String stationName,
int uLevel)
stationName - the name of the station whose usage level was changeduLevel - the integer value of the new usage level