public class FuseClient
extends org.eclipse.kapua.gateway.client.mqtt.MqttClient
| Modifier and Type | Class and Description |
|---|---|
static class |
FuseClient.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
handleMessageArrived(String topic,
org.fusesource.hawtbuf.Buffer payload,
org.fusesource.mqtt.client.Callback<org.fusesource.mqtt.client.Callback<Void>> ack) |
void |
publishMqtt(String topic,
ByteBuffer payload) |
protected CompletionStage<?> |
subscribeMqtt(String topic,
org.eclipse.kapua.gateway.client.mqtt.MqttMessageHandler messageHandler) |
protected void |
unsubscribeMqtt(Set<String> mqttTopics) |
getCodec, getMqttClientId, internalCreateApplication, internalUnsubscribe, publish, subscribebuildApplication, handleApplicationClosed, handleConnected, handleDisconnected, internalBuildApplication, internalCloseApplication, notifyAddApplication, notifyConnected, notifyDisconnected, notifyRemoveApplication, transportpublic void close()
public void publishMqtt(String topic, ByteBuffer payload)
publishMqtt in class org.eclipse.kapua.gateway.client.mqtt.MqttClientprotected CompletionStage<?> subscribeMqtt(String topic, org.eclipse.kapua.gateway.client.mqtt.MqttMessageHandler messageHandler)
subscribeMqtt in class org.eclipse.kapua.gateway.client.mqtt.MqttClientprotected void unsubscribeMqtt(Set<String> mqttTopics)
unsubscribeMqtt in class org.eclipse.kapua.gateway.client.mqtt.MqttClientCopyright © 2017. All rights reserved.