public class LynxGetModuleStatusCommand extends LynxStandardCommand<LynxGetModuleStatusResponse>
COMMAND_NUMBER_ACK, COMMAND_NUMBER_DEBUG_LOG_LEVEL, COMMAND_NUMBER_DISCOVERY, COMMAND_NUMBER_DOWNLOAD_CHUNK, COMMAND_NUMBER_FAIL_SAFE, COMMAND_NUMBER_FIRST, COMMAND_NUMBER_GET_MODULE_LED_COLOR, COMMAND_NUMBER_GET_MODULE_LED_PATTERN, COMMAND_NUMBER_GET_MODULE_STATUS, COMMAND_NUMBER_KEEP_ALIVE, COMMAND_NUMBER_LAST, COMMAND_NUMBER_NACK, COMMAND_NUMBER_QUERY_INTERFACE, COMMAND_NUMBER_SET_MODULE_LED_COLOR, COMMAND_NUMBER_SET_MODULE_LED_PATTERN, COMMAND_NUMBER_SET_NEW_MODULE_ADDRESS, COMMAND_NUMBER_START_DOWNLOAD
ackOrNackReceived, isAckOrResponseReceived, nackReceived, response, responseOrNackReceived, retransmissionsRemaining
hasBeenTransmitted, messageNumber, module, nanotimeLastTransmit, payloadTimeWindow, referenceNumber, serialization
Constructor and Description |
---|
LynxGetModuleStatusCommand(LynxModule module) |
LynxGetModuleStatusCommand(LynxModule module,
boolean clearStatusAfterResponse) |
Modifier and Type | Method and Description |
---|---|
void |
fromPayloadByteArray(byte[] rgb) |
boolean |
getClearStatusAfterResponse() |
int |
getCommandNumber() |
static java.lang.Class<? extends LynxResponse> |
getResponseClass() |
static int |
getStandardCommandNumber() |
boolean |
isResponseExpected()
Returns whether this message will generate a response message in return.
|
byte[] |
toPayloadByteArray() |
isStandardCommandNumber, isStandardPacketId, isStandardResponseNumber
getResponseClass
awaitAckResponseOrNack, awaitAndRetransmit, getMsAwaitInterval, getMsRetransmissionInterval, getNackReceived, hasBeenAcknowledged, isAckable, isAckOrResponseReceived, isNackReceived, isRetransmittable, noteAttentionRequired, noteRetransmission, onAckReceived, onNackReceived, onPretendTransmit, onResponseReceived, pretendFinish, responseOrThrow, send, sendReceive, setUnretransmittable, throwIfNack, throwNackForUnsupportedCommand, usePretendResponseIfRealModuleDoesntSupport
acquireNetworkLock, forgetSerialization, getDestModuleAddress, getMessageNumber, getModule, getModuleAddress, getNanotimeLastTransmit, getPayloadTimeWindow, getReferenceNumber, getSerialization, hasBeenTransmitted, invokeStaticNullaryMethod, isAck, isNack, isResponse, loadFromSerialization, noteHasBeenTransmitted, releaseNetworkLock, resetModulePingTimer, setMessageNumber, setModule, setNanotimeLastTransmit, setPayloadTimeWindow, setReferenceNumber, setSerialization
public LynxGetModuleStatusCommand(LynxModule module)
public LynxGetModuleStatusCommand(LynxModule module, boolean clearStatusAfterResponse)
public boolean getClearStatusAfterResponse()
public static int getStandardCommandNumber()
public static java.lang.Class<? extends LynxResponse> getResponseClass()
public boolean isResponseExpected()
LynxMessage
isResponseExpected
in class LynxMessage
public int getCommandNumber()
getCommandNumber
in class LynxMessage
public byte[] toPayloadByteArray()
toPayloadByteArray
in class LynxMessage
public void fromPayloadByteArray(byte[] rgb)
fromPayloadByteArray
in class LynxMessage