| Constructor and Description |
|---|
DataMessage(ByteBuffer body,
long timestamp,
long msgId,
String channelId) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
body()
Message data
Message body is a direct byte buffer, which may be invalid after call next
DataReader#getBundleNative. |
String |
channelId() |
long |
msgId() |
long |
timestamp() |
String |
toString() |
public DataMessage(ByteBuffer body, long timestamp, long msgId, String channelId)
public ByteBuffer body()
MessageDataReader#getBundleNative. Please consume this buffer fully
before next call getBundleNative.public long timestamp()
public long msgId()
public String channelId()
Copyright © 2020. All rights reserved.