| Constructor and Description |
|---|
SimpleMessage(java.lang.String topic,
java.nio.ByteBuffer payload) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
payload()
Returns the playload of the message as
ByteBuffer |
java.lang.String |
topic()
Returns the MQTT topic, the message belongs to
|
public SimpleMessage(java.lang.String topic,
java.nio.ByteBuffer payload)
public java.lang.String topic()
MessageData In Motion Consulting (c) 2017