vertx / io.vertx.reactivex.mqtt / MqttServer / rxListen

rxListen

open fun rxListen(port: Int, host: String): Single<MqttServer>

Start the server listening for incoming connections on the port and host specified It ignores any options specified through the constructor

Parameters

port - the port to listen on

host - the host to listen on

Return

open fun rxListen(port: Int): Single<MqttServer>

Start the server listening for incoming connections on the port specified but on "0.0.0.0" as host. It ignores any options specified through the constructor

Parameters

port - the port to listen on

Return

open fun rxListen(): Single<MqttServer>

Start the server listening for incoming connections using the specified options through the constructor

Return