Uses of Class
io.vertx.mqtt.MqttClientOptions
Packages that use MqttClientOptions
-
Uses of MqttClientOptions in io.vertx.mqtt
Methods in io.vertx.mqtt that return MqttClientOptionsModifier and TypeMethodDescriptionMqttClientOptions.addCrlPath(String crlPath) MqttClientOptions.addCrlValue(Buffer crlValue) MqttClientOptions.addEnabledCipherSuite(String suite) MqttClientOptions.addEnabledSecureTransportProtocol(String protocol) MqttClientOptions.setAckTimeout(int ackTimeoutSeconds) Sets the time in seconds after which the client will stop waiting for a PUBACK, PUBREC or PUBCOMP packet from the server in response to a packet it has sent.MqttClientOptions.setAutoAck(boolean autoAck) Set to false to let the application code to ack the message viaMqttPublishMessage.ack().MqttClientOptions.setAutoGeneratedClientId(boolean isAutoGeneratedClientId) Set if the MQTT client must generate clientId automatically (default is true)MqttClientOptions.setAutoKeepAlive(boolean isAutoKeepAlive) Set if the MQTT client must handle PINGREQ automatically (default is true)MqttClientOptions.setAutoServerRedirect(boolean autoServerRedirect) Whentrue(default) and the broker replies with a CONNACK or DISCONNECT that includes aSERVER_REFERENCEproperty (MQTT 5.0 §3.2.2.3.18 / §3.14.2.3.4), the client will transparently reconnect to a server picked at random from the comma-separated list in that property instead of failing.MqttClientOptions.setCleanSession(boolean cleanSession) Set to start with a clean session (or not)MqttClientOptions.setClientId(String clientId) Set the client identifierMqttClientOptions.setHostnameVerificationAlgorithm(String hostnameVerificationAlgorithm) MqttClientOptions.setKeepAliveInterval(int keepAliveInterval) Set the keep alive interval in secondsMqttClientOptions.setKeyCertOptions(KeyCertOptions options) MqttClientOptions.setMaxInflightQueue(int maxInflightQueue) Set max count of unacknowledged messagesMqttClientOptions.setMaxMessageSize(int maxMessageSize) Set max MQTT message sizeMqttClientOptions.setPassword(String password) Set the passwordMqttClientOptions.setReceiveBufferSize(int receiveBufferSize) MqttClientOptions.setRecvByteBufAllocatorSize(int recvByteBufAllocatorSize) Set the size for the FixedRecvByteBufAllocator used on the channel.MqttClientOptions.setSsl(boolean ssl) MqttClientOptions.setTrustAll(boolean trustAll) MqttClientOptions.setTrustOptions(TrustOptions options) MqttClientOptions.setUsername(String username) Set the usernameMqttClientOptions.setWillMessageBytes(Buffer willMessage) Deprecated.MqttClientOptions.setWillOptions(MqttClientWillOptions willOptions) Set the will message options.MqttClientOptions.setWillQoS(int willQoS) Deprecated.MqttClientOptions.setWillRetain(boolean willRetain) Deprecated.MqttClientOptions.setWillTopic(String willTopic) Deprecated.Methods in io.vertx.mqtt with parameters of type MqttClientOptionsModifier and TypeMethodDescriptionstatic MqttClientMqttClient.create(Vertx vertx, MqttClientOptions options) Return an MQTT client instanceConstructors in io.vertx.mqtt with parameters of type MqttClientOptions -
Uses of MqttClientOptions in io.vertx.reactivex.mqtt
Methods in io.vertx.reactivex.mqtt with parameters of type MqttClientOptionsModifier and TypeMethodDescriptionstatic MqttClientMqttClient.create(Vertx vertx, MqttClientOptions options) Return an MQTT client instance -
Uses of MqttClientOptions in io.vertx.rxjava3.mqtt
Methods in io.vertx.rxjava3.mqtt with parameters of type MqttClientOptionsModifier and TypeMethodDescriptionstatic MqttClientMqttClient.create(Vertx vertx, MqttClientOptions options) Return an MQTT client instance
MqttClientOptions.getWillOptions()andMqttClientWillOptions.setMessageBytes(Buffer)