Uses of Interface
io.vertx.mqtt.MqttClient
Packages that use MqttClient
-
Uses of MqttClient in io.vertx.mqtt
Methods in io.vertx.mqtt that return MqttClientModifier and TypeMethodDescriptionMqttClient.authenticationExchangeHandler(Handler<MqttAuthenticationExchangeMessage> authenticationExchangeHandler) Sets handler which will be called after AUTH packet receivingMqttClient.closeHandler(Handler<Void> closeHandler) Set a handler that will be called when the connection with server is closedstatic MqttClientReturn an MQTT client instance using the default optionsstatic MqttClientMqttClient.create(Vertx vertx, MqttClientOptions options) Return an MQTT client instanceMqttClient.exceptionHandler(Handler<Throwable> handler) Set an exception handler for the client, that will be called when an error happens in internal netty structures.MqttClient.ping()This method is needed by the client in order to avoid server closes the connection due to the keep alive timeout if client has no messages to sendMqttClient.pingResponseHandler(Handler<Void> pingResponseHandler) Sets handler which will be called after PINGRESP packet receivingMqttClient.publishCompletionExpirationHandler(Handler<Integer> publishCompletionExpirationHandler) Sets a handler which will be called when the client does not receive a PUBACK or PUBREC/PUBCOMP for a message published using QoS 1 or 2 respectively.MqttClient.publishCompletionHandler(Handler<Integer> publishCompletionHandler) Sets a handler which will be called each time the publishing of a message has been completed.MqttClient.publishCompletionUnknownPacketIdHandler(Handler<Integer> publishCompletionPhantomHandler) Sets a handler which will be called when the client receives a PUBACK/PUBREC/PUBCOMP with an unknown packet ID.MqttClient.publishHandler(Handler<MqttPublishMessage> publishHandler) Sets handler which will be called each time server publish something to clientMqttClient.subscribeCompletionHandler(Handler<MqttSubAckMessage> subscribeCompletionHandler) Sets handler which will be called after SUBACK packet receivingMqttClient.unsubscribeCompletionHandler(Handler<Integer> unsubscribeCompletionHandler) Sets handler which will be called after UNSUBACK packet receiving -
Uses of MqttClient in io.vertx.reactivex.mqtt
Methods in io.vertx.reactivex.mqtt that return MqttClientMethods in io.vertx.reactivex.mqtt with parameters of type MqttClientConstructors in io.vertx.reactivex.mqtt with parameters of type MqttClient -
Uses of MqttClient in io.vertx.rxjava3.mqtt
Methods in io.vertx.rxjava3.mqtt that return MqttClientMethods in io.vertx.rxjava3.mqtt with parameters of type MqttClientConstructors in io.vertx.rxjava3.mqtt with parameters of type MqttClient