public class LynxI2cReadStatusQueryCommand extends LynxDekaInterfaceCommand<LynxI2cReadStatusQueryResponse>
Modifier and Type | Field and Description |
---|---|
static int |
cbPayload |
theInterface, theInterfaceName
ackOrNackReceived, isAckOrResponseReceived, nackReceived, response, responseOrNackReceived, retransmissionsRemaining
hasBeenTransmitted, messageNumber, module, nanotimeLastTransmit, payloadTimeWindow, referenceNumber, serialization
Constructor and Description |
---|
LynxI2cReadStatusQueryCommand(LynxModuleIntf module) |
LynxI2cReadStatusQueryCommand(LynxModuleIntf module,
int busZ,
int cbExpected) |
Modifier and Type | Method and Description |
---|---|
void |
fromPayloadByteArray(byte[] rgb) |
static java.lang.Class<? extends LynxInterfaceResponse> |
getResponseClass() |
boolean |
isResponseExpected()
Returns whether this message will generate a response message in return.
|
void |
onResponseReceived(LynxMessage generic) |
byte[] |
toPayloadByteArray() |
getInterface
getBaseCommandNumber, getCommandNumber, getInterfaceCommandIndex
getResponseClass
awaitAckResponseOrNack, awaitAndRetransmit, getMsAwaitInterval, getMsRetransmissionInterval, getNackReceived, hasBeenAcknowledged, isAckable, isAckOrResponseReceived, isNackReceived, isRetransmittable, noteAttentionRequired, noteRetransmission, onAckReceived, onNackReceived, onPretendTransmit, 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 static final int cbPayload
public LynxI2cReadStatusQueryCommand(LynxModuleIntf module)
public LynxI2cReadStatusQueryCommand(LynxModuleIntf module, int busZ, int cbExpected)
public static java.lang.Class<? extends LynxInterfaceResponse> getResponseClass()
public boolean isResponseExpected()
LynxMessage
isResponseExpected
in class LynxMessage
public void onResponseReceived(LynxMessage generic)
onResponseReceived
in class LynxRespondable<LynxI2cReadStatusQueryResponse>
public byte[] toPayloadByteArray()
toPayloadByteArray
in class LynxMessage
public void fromPayloadByteArray(byte[] rgb)
fromPayloadByteArray
in class LynxMessage