|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object_PushSupplierImplBase
com.isti.trinetwatch.controlAgentSim.CtaSimToS_provider
public class CtaSimToS_provider
Class CtaToS_provider sends the necessary responses to requests for changing the usage level of a given station. The format of the responses is:
'CTRL_RESULT:SSSSS:ID:AGENT:COMMAND:ARGS'where SSSSS is the station name, ID is the id of the cta message manager in the NSI, AGENT is the name of the replying control agent, and COMMAND:ARGS is the result command and its return arguments. ARGS is optional.
| Constructor Summary | |
|---|---|
CtaSimToS_provider(org.omg.CORBA.ORB orb,
com.ooc.CORBA.BOA boa,
PushConsumer sConsumer,
ControlAgentSim ctaObj)
Creates an object of CtaSimToS_provider. |
|
| Method Summary | |
|---|---|
void |
disconnect_push_supplier()
Disconnect from the event channel. |
void |
sendAckMessage(java.lang.String stationName,
java.lang.String msgManId,
int uLevel,
int timeoutLen)
Sends an ack message to the NSI server. |
void |
sendDoneMessage(java.lang.String stationName,
java.lang.String msgManId)
Sends a done message to the NSI server. |
void |
sendFailureMessage(java.lang.String stationName,
java.lang.String msgManId)
Sends failure message to the NSI server. |
void |
sendInProgressMessage(java.lang.String stationName,
java.lang.String msgManId)
Sends in-progress message to the NSI server. |
void |
sendTimeoutMessage(java.lang.String stationName,
java.lang.String msgManId)
Sends timeout message to the NSI server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
CtaSimToS_provider(org.omg.CORBA.ORB orb,
com.ooc.CORBA.BOA boa,
PushConsumer sConsumer,
ControlAgentSim ctaObj)
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.ctaObj - A handle to the ControlAgentSim object.| Method Detail |
|---|
public void disconnect_push_supplier()
public void sendAckMessage(java.lang.String stationName,
java.lang.String msgManId,
int uLevel,
int timeoutLen)
stationName - A string holding the station name.msgManId - A string containing the id of the NSI cta message manager.uLevel - An int holding the requested usage level.timeoutLen - An int representing the maximum length of time necessary
to complete the usage level change.
public void sendDoneMessage(java.lang.String stationName,
java.lang.String msgManId)
stationName - A string holding the station name.msgManId - A string containing the id of the NSI cta message manager.
public void sendFailureMessage(java.lang.String stationName,
java.lang.String msgManId)
stationName - A string holding the station name.msgManId - A string containing the id of the NSI cta message manager.
public void sendTimeoutMessage(java.lang.String stationName,
java.lang.String msgManId)
stationName - A string holding the station name.msgManId - A string containing the id of the NSI cta message manager.
public void sendInProgressMessage(java.lang.String stationName,
java.lang.String msgManId)
stationName - A string holding the station name.msgManId - A string containing the id of the NSI cta message manager.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||