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 via.invalid reference
MqttPublishMessage#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.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.setWillFlag(boolean willFlag) Set if will information are provided on connectionMqttClientOptions.setWillMessageBytes(Buffer willMessage) Set the content of the will messageMqttClientOptions.setWillQoS(int willQoS) Set the QoS level for the will messageMqttClientOptions.setWillRetain(boolean willRetain) Set if the will message must be retainedMqttClientOptions.setWillTopic(String willTopic) Set the topic on which the will message will be publishedMethods 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