Uses of Class
io.vertx.mutiny.mqtt.MqttServer
Packages that use MqttServer
-
Uses of MqttServer in io.vertx.mutiny.mqtt
Fields in io.vertx.mutiny.mqtt with type parameters of type MqttServerMethods in io.vertx.mutiny.mqtt that return MqttServerModifier and TypeMethodDescriptionMqttServer.closeAndForget()Close the server.static MqttServerReturn an MQTT server instance using default optionsstatic MqttServerReturn an MQTT server instanceMqttServer.endpointHandler(Consumer<MqttEndpoint> handler) Set the endpoint handler for the server.MqttServer.exceptionHandler(Consumer<Throwable> handler) Set an exception handler for the server, that will be called when an error happens independantly of an acceptedMqttEndpoint, like a rejected connectionMqttServer.listenAndAwait()Start the server listening for incoming connections using the specified options through the constructorMqttServer.listenAndAwait(int port) Start the server listening for incoming connections on the port specified but on "0.0.0.0" as host.MqttServer.listenAndAwait(int port, String host) Start the server listening for incoming connections on the port and host specifiedMqttServer.listenAndForget()Start the server listening for incoming connections using the specified options through the constructorMqttServer.listenAndForget(int port) Start the server listening for incoming connections on the port specified but on "0.0.0.0" as host.MqttServer.listenAndForget(int port, String host) Start the server listening for incoming connections on the port and host specifiedstatic MqttServerMqttServer.newInstance(io.vertx.mqtt.MqttServer delegate) Creates a new instance of theMqttServer.MqttServer.updateSSLOptionsAndForget(io.vertx.core.net.ServerSSLOptions options) Update the server with new SSLoptions, the update happens if the options object is valid and different from the existing options object.MqttServer.updateSSLOptionsAndForget(io.vertx.core.net.ServerSSLOptions options, boolean force) Update the server with new SSLoptions, the update happens if the options object is valid and different from the existing options object.Methods in io.vertx.mutiny.mqtt that return types with arguments of type MqttServerModifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<MqttServer>MqttServer.listen()Start the server listening for incoming connections using the specified options through the constructorio.smallrye.mutiny.Uni<MqttServer>MqttServer.listen(int port) Start the server listening for incoming connections on the port specified but on "0.0.0.0" as host.io.smallrye.mutiny.Uni<MqttServer>Start the server listening for incoming connections on the port and host specified