MqttClient.withPort constructor

MqttClient.withPort(
  1. String server,
  2. String clientIdentifier,
  3. int port
)

Initializes a new instance of the MqttClient class using the supplied Mqtt Port. The server hostname to connect to The client identifier to use to connect with The port to use

Implementation

MqttClient.withPort(this.server, this.clientIdentifier, this.port);