public class MqttApplication
extends org.eclipse.kapua.gateway.client.spi.AbstractApplication
| Constructor and Description |
|---|
MqttApplication(MqttClient client,
String applicationId,
Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.kapua.gateway.client.spi.AbstractData |
data(org.eclipse.kapua.gateway.client.Topic topic) |
protected void |
handleMessage(org.eclipse.kapua.gateway.client.MessageHandler handler,
ByteBuffer buffer) |
protected CompletionStage<?> |
internalSubscribe(org.eclipse.kapua.gateway.client.Topic topic,
org.eclipse.kapua.gateway.client.MessageHandler handler,
org.eclipse.kapua.gateway.client.ErrorHandler<? extends Throwable> errorHandler) |
protected void |
publish(org.eclipse.kapua.gateway.client.Topic topic,
org.eclipse.kapua.gateway.client.Payload payload) |
public MqttApplication(MqttClient client, String applicationId, Executor executor)
public org.eclipse.kapua.gateway.client.spi.AbstractData data(org.eclipse.kapua.gateway.client.Topic topic)
data in interface org.eclipse.kapua.gateway.client.Applicationdata in class org.eclipse.kapua.gateway.client.spi.AbstractApplicationprotected void publish(org.eclipse.kapua.gateway.client.Topic topic,
org.eclipse.kapua.gateway.client.Payload payload)
throws Exception
publish in class org.eclipse.kapua.gateway.client.spi.AbstractApplicationExceptionprotected CompletionStage<?> internalSubscribe(org.eclipse.kapua.gateway.client.Topic topic, org.eclipse.kapua.gateway.client.MessageHandler handler, org.eclipse.kapua.gateway.client.ErrorHandler<? extends Throwable> errorHandler) throws Exception
internalSubscribe in class org.eclipse.kapua.gateway.client.spi.AbstractApplicationExceptionprotected void handleMessage(org.eclipse.kapua.gateway.client.MessageHandler handler,
ByteBuffer buffer)
throws Exception
ExceptionCopyright © 2017. All rights reserved.