public class LynxGetModuleLEDPatternCommand extends LynxStandardCommand<LynxGetModuleLEDPatternResponse>
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 |
---|
LynxGetModuleLEDPatternCommand(LynxModule module) |
Modifier and Type | Method and Description |
---|---|
void |
fromPayloadByteArray(byte[] rgb) |
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 LynxGetModuleLEDPatternCommand(LynxModule module)
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