public class CurrentArmor extends ProtocolZero
formatted, paramscan, priority
Constructor and Description |
---|
CurrentArmor() |
CurrentArmor(long period) |
CurrentArmor(long period,
long delay) |
CurrentArmor(priority_t priority) |
CurrentArmor(priority_t priority,
long period) |
CurrentArmor(priority_t priority,
long period,
long delay) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentArmor()
Returns Quagent's current armor value.
|
void |
setData(java.lang.String params)
Sets command response data.
|
protected void |
setOp() |
getPriority, hasTerminated, pause, resume, run, setExecutor, terminate, update
addTerminationListener, compareTo, getDelay, getExitCode, getFrequency, getID, getOp, getPeriod, getRuntime, toDataString, toString, verifyClient, waitForTerminate, whatAmI
public CurrentArmor(priority_t priority)
public CurrentArmor()
public CurrentArmor(priority_t priority, long period)
public CurrentArmor(long period)
public CurrentArmor(priority_t priority, long period, long delay)
public CurrentArmor(long period, long delay)
protected void setOp()
setOp
in class ProtocolZero
public int getCurrentArmor()
public void setData(java.lang.String params)
ProtocolZero
setData
in class ProtocolZero
params
- Data string. For all "data" messages it is identified by the form: