public class LynxKeepAliveCommand extends LynxStandardCommand<LynxAck>
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_DOWNLOADackOrNackReceived, isAckOrResponseReceived, nackReceived, response, responseOrNackReceived, retransmissionsRemaininghasBeenTransmitted, messageNumber, module, nanotimeLastTransmit, payloadTimeWindow, referenceNumber, serialization| Constructor and Description |
|---|
LynxKeepAliveCommand(LynxModule module,
boolean initialPing) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromPayloadByteArray(byte[] rgb) |
int |
getCommandNumber() |
protected int |
getMsAwaitInterval() |
static int |
getStandardCommandNumber() |
boolean |
isResponseExpected()
Returns whether this message will generate a response message in return.
|
protected void |
noteAttentionRequired() |
byte[] |
toPayloadByteArray() |
isStandardCommandNumber, isStandardPacketId, isStandardResponseNumbergetResponseClassawaitAckResponseOrNack, awaitAndRetransmit, getMsRetransmissionInterval, getNackReceived, hasBeenAcknowledged, isAckable, isAckOrResponseReceived, isNackReceived, isRetransmittable, noteRetransmission, onAckReceived, onNackReceived, onPretendTransmit, onResponseReceived, pretendFinish, responseOrThrow, send, sendReceive, setUnretransmittable, throwIfNack, throwNackForUnsupportedCommand, usePretendResponseIfRealModuleDoesntSupportacquireNetworkLock, forgetSerialization, getDestModuleAddress, getMessageNumber, getModule, getModuleAddress, getNanotimeLastTransmit, getPayloadTimeWindow, getReferenceNumber, getSerialization, hasBeenTransmitted, invokeStaticNullaryMethod, isAck, isNack, isResponse, loadFromSerialization, noteHasBeenTransmitted, releaseNetworkLock, resetModulePingTimer, setMessageNumber, setModule, setNanotimeLastTransmit, setPayloadTimeWindow, setReferenceNumber, setSerializationpublic LynxKeepAliveCommand(LynxModule module, boolean initialPing)
public static int getStandardCommandNumber()
public int getCommandNumber()
getCommandNumber in class LynxMessageprotected void noteAttentionRequired()
noteAttentionRequired in class LynxRespondable<LynxAck>public byte[] toPayloadByteArray()
toPayloadByteArray in class LynxMessagepublic boolean isResponseExpected()
LynxMessageisResponseExpected in class LynxMessagepublic void fromPayloadByteArray(byte[] rgb)
fromPayloadByteArray in class LynxMessageprotected int getMsAwaitInterval()
getMsAwaitInterval in class LynxRespondable<LynxAck>