|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.trinetwatch.server.CTA_Msg_Manager
Class CTA_Msg_Manager defines a thread that manages responses from the control agent for a station.
Constructor Summary | |
CTA_Msg_Manager(Server servObj,
Station tmpStation)
Create an object of type CTA_Msg_Manager(). |
Method Summary | |
java.lang.String |
getIdString()
Use this method to get the ID string of this object. |
java.lang.String |
getStationName()
Use this method to get the name of the station this thread represents. |
void |
reportAckMsg(int uLevel,
int timeout)
This method is used to report an acknowledgement message for this station |
void |
reportDoneMsg()
This method is used to report a done message for this station. |
void |
reportFailureMsg()
This method is used to report a failure message for this station. |
void |
reportInProgressMsg()
This method is used to report an in-progress message for this station. |
void |
reportTimeoutMsg()
This method is used to report a timeout message for this station. |
void |
run()
This method sends a message through the CTRL_MSG event channel and waits for answers to come through the CTRL_RESULT event channel upon which it then reacts. |
void |
terminateThread(java.lang.String message)
This method tells the thread to exit. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CTA_Msg_Manager(Server servObj, Station tmpStation)
servObj
- A server objectMethod Detail |
public java.lang.String getStationName()
public java.lang.String getIdString()
public void terminateThread(java.lang.String message)
public void reportAckMsg(int uLevel, int timeout)
uLevel
- The usage level from the ack message. An integer.timeout
- The length of time(seconds) to wait for a done message
before timeing out. An integer.public void reportDoneMsg()
public void reportFailureMsg()
public void reportTimeoutMsg()
public void reportInProgressMsg()
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |