public abstract class DataMessageFromHost extends AntMessageFromHost
MessageFromHostType.BROADCAST_DATA,
MessageFromHostType.ACKNOWLEDGED_DATA, or MessageFromHostType.BURST_TRANSFER_DATA
type message.| Modifier and Type | Field and Description |
|---|---|
static int |
LENGTH_STANDARD_PAYLOAD
The length in bytes of the standard payload in a broadcast, acknowledged,
or burst message.
|
static int |
OFFSET_PAYLOAD_START
The message content offset to the first byte of the payload.
|
BITMASK_CHANNEL_NUMBER, FILLER_BYTE, OFFSET_CHANNEL_NUMBER, RAW_OFFSET_MESSAGE_CONTENT_START, RAW_OFFSET_MESSAGE_ID, RAW_OFFSET_MESSAGE_SIZE, SIZE_CHANNEL_NUMBER, SIZE_FILLER_BYTE| Constructor and Description |
|---|
DataMessageFromHost() |
| Modifier and Type | Method and Description |
|---|---|
abstract byte[] |
getPayload()
Gets the payload of the data message.
|
java.lang.String |
toString() |
createAntMessage, getMessageContent, getMessageContent, getMessageContent, getMessageId, getMessageType, getRawMessageequals, getMessageContentString, getMessageIdString, hashCode, maskChannelNumberpublic static final int LENGTH_STANDARD_PAYLOAD
public static final int OFFSET_PAYLOAD_START
public abstract byte[] getPayload()
public java.lang.String toString()
toString in class AntMessageFromHostCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.