public class GetGravity extends ProtocolZero
formatted, paramscan, priority
Constructor and Description |
---|
GetGravity() |
Modifier and Type | Method and Description |
---|---|
double |
getGravity() |
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 double getGravity()
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:
protected void setOp()
setOp
in class ProtocolZero