Package jmri.jmrix.acela
Class AcelaMessage
java.lang.Object
jmri.jmrix.AbstractMessage
jmri.jmrix.AbstractMRMessage
jmri.jmrix.acela.AcelaMessage
- All Implemented Interfaces:
Message
Contains the data payload of an Acela packet.
-
Field Summary
FieldsFields inherited from class jmri.jmrix.AbstractMRMessage
LONG_TIMEOUT, SHORT_TIMEOUTFields inherited from class jmri.jmrix.AbstractMessage
_dataChars, _nDataChars -
Constructor Summary
ConstructorsConstructorDescriptionAcelaMessage(byte[] a) Deprecated, for removal: This API element is subject to removal in a future version.5.13.5, unused, requires further development.AcelaMessage(int i) This ctor interprets the String as the exact sequence to send, byte-for-byte. -
Method Summary
Modifier and TypeMethodDescriptionstatic AcelaMessagestatic AcelaMessagestatic AcelaMessagestatic AcelaMessagestatic AcelaMessagestatic AcelaMessagetoString()Methods inherited from class jmri.jmrix.AbstractMRMessage
addIntAsFourHex, addIntAsThree, addIntAsThreeHex, addIntAsTwoHex, getNeededMode, getOpCode, getOpCodeHex, getRetries, getTimeout, isBinary, replyExpected, setBinary, setNeededMode, setOpCode, setRetries, setTimeoutMethods inherited from class jmri.jmrix.AbstractMessage
equals, getElement, getNumDataElements, hashCode, setElementMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jmri.jmrix.Message
toMonitorString
-
Field Details
-
POLL_TIMEOUT
- See Also:
-
-
Constructor Details
-
AcelaMessage
public AcelaMessage() -
AcelaMessage
-
AcelaMessage
-
AcelaMessage
This ctor interprets the String as the exact sequence to send, byte-for-byte.- Parameters:
m- string form of message.
-
AcelaMessage
Deprecated, for removal: This API element is subject to removal in a future version.5.13.5, unused, requires further development.This ctor interprets the byte array as a sequence of characters to send.- Parameters:
a- Array of bytes to send
-
-
Method Details
-
toString
Description copied from interface:Message- Specified by:
toStringin interfaceMessage- Overrides:
toStringin classAbstractMRMessage
-
getAcelaVersionMsg
-
getAcelaResetMsg
-
getAcelaOnlineMsg
-
getAcelaPollNodesMsg
-
getAcelaPollSensorsMsg
-
getAcelaConfigSensorMsg
-