|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.omg.CORBA.portable.ObjectImpl org.omg.CORBA.DynamicImplementation org.omg.CosEventComm._PushSupplierImplBase com.isti.trinetwatch.controlAgentSim.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.
Field Summary |
Fields inherited from class org.omg.CosEventComm._PushSupplierImplBase |
|
Constructor Summary | |
(package private) |
CtaSimToS_provider(org.omg.CORBA.ORB orb,
com.ooc.CORBA.BOA boa,
org.omg.CosEventComm.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 org.omg.CosEventComm._PushSupplierImplBase |
_ids, invoke |
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Constructor Detail |
CtaSimToS_provider(org.omg.CORBA.ORB orb, com.ooc.CORBA.BOA boa, org.omg.CosEventComm.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 |