class CTA_Msg_Manager
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
CTA_Msg_Manager(Server servObj,
Station tmpStation)
Create an object of type CTA_Msg_Manager().
|
Modifier and Type | Method and Description |
---|---|
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.
|
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