| Package | Description |
|---|---|
| com.hivemq.spi.callback.events | |
| com.hivemq.spi.message | |
| com.hivemq.spi.services |
| Modifier and Type | Method and Description |
|---|---|
void |
OnPublishReceivedCallback.onPublishReceived(PUBLISH publish,
ClientData clientData)
Called when a
PUBLISH MQTT message arrives
The publish parameter references the publish object, that is sent to the subscribers,
after the onPublishReceived method was called. |
void |
OnPublishSend.onPublishSend(PUBLISH publish,
ClientData clientData)
Gets called when a PUBLISH is sent by HiveMQ to a subscribing client.
|
| Modifier and Type | Class and Description |
|---|---|
class |
REMOTE_PUBLISH
Deprecated.
use
PUBLISH instead |
| Modifier and Type | Method and Description |
|---|---|
PUBLISH |
ModifiablePUBLISH.copy() |
static PUBLISH |
PUBLISH.copy(PUBLISH original)
Crates a deep copy of a
PUBLISH object. |
| Modifier and Type | Method and Description |
|---|---|
static PUBLISH |
PUBLISH.copy(PUBLISH original)
Crates a deep copy of a
PUBLISH object. |
| Constructor and Description |
|---|
REMOTE_PUBLISH(PUBLISH original)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PublishService.publish(PUBLISH publish)
Publishes a new MQTT
PUBLISH message. |
void |
PublishService.publishtoClient(PUBLISH publish,
String clientId)
Publishes a new MQTT
PUBLISH message. |
Copyright © 2013-2018 dc-square GmbH. All Rights Reserved.