Package | Description |
---|---|
io.smallrye.reactive.messaging.mqtt | |
io.smallrye.reactive.messaging.mqtt.session | |
io.smallrye.reactive.messaging.mqtt.session.impl |
Modifier and Type | Method and Description |
---|---|
MqttClientSession |
Clients.ClientHolder.getClient() |
Constructor and Description |
---|
ClientHolder(MqttClientSession client) |
Modifier and Type | Method and Description |
---|---|
static MqttClientSession |
MqttClientSession.create(io.vertx.core.Vertx vertx,
MqttClientSessionOptions options)
Create a new MQTT client session.
|
MqttClientSession |
MqttClientSession.exceptionHandler(io.vertx.core.Handler<Throwable> exceptionHandler)
Sets handler which will be called in case of an exception
|
MqttClientSession |
MqttClientSession.messageHandler(io.vertx.core.Handler<io.vertx.mqtt.messages.MqttPublishMessage> messageHandler)
Sets handler which will be called each time server publish something to client
|
MqttClientSession |
MqttClientSession.publishCompletionExpirationHandler(io.vertx.core.Handler<Integer> publishCompletionExpirationHandler)
Set the publish completion expiration handler.
|
MqttClientSession |
MqttClientSession.publishCompletionHandler(io.vertx.core.Handler<Integer> publishCompleteHandler)
Set the publish complete handler.
|
MqttClientSession |
MqttClientSession.publishCompletionUnknownPacketIdHandler(io.vertx.core.Handler<Integer> publishCompletionUnknownPacketIdHandler)
Set the publish completion unknown packet id handler.
|
MqttClientSession |
MqttClientSession.sessionStateHandler(io.vertx.core.Handler<SessionEvent> sessionStateHandler)
Set the session state handler.
|
MqttClientSession |
MqttClientSession.subscriptionStateHandler(io.vertx.core.Handler<SubscriptionEvent> subscriptionStateHandler)
Set the subscription state handler.
|
Modifier and Type | Class and Description |
---|---|
class |
MqttClientSessionImpl |
Modifier and Type | Method and Description |
---|---|
MqttClientSession |
MqttClientSessionImpl.exceptionHandler(io.vertx.core.Handler<Throwable> exceptionHandler) |
MqttClientSession |
MqttClientSessionImpl.messageHandler(io.vertx.core.Handler<io.vertx.mqtt.messages.MqttPublishMessage> messageHandler) |
MqttClientSession |
MqttClientSessionImpl.publishCompletionExpirationHandler(io.vertx.core.Handler<Integer> publishCompletionExpirationHandler) |
MqttClientSession |
MqttClientSessionImpl.publishCompletionHandler(io.vertx.core.Handler<Integer> publishCompleteHandler) |
MqttClientSession |
MqttClientSessionImpl.publishCompletionUnknownPacketIdHandler(io.vertx.core.Handler<Integer> publishCompletionUnknownPacketIdHandler) |
MqttClientSession |
MqttClientSessionImpl.sessionStateHandler(io.vertx.core.Handler<SessionEvent> sessionStateHandler) |
MqttClientSession |
MqttClientSessionImpl.subscriptionStateHandler(io.vertx.core.Handler<SubscriptionEvent> subscriptionStateHandler) |
Copyright © 2018–2021 SmallRye. All rights reserved.