MqttServerSecureConnection.fromConnect constructor

MqttServerSecureConnection.fromConnect(
  1. String server,
  2. int port,
  3. EventBus eventBus
)

Initializes a new instance of the MqttSecureConnection class.

Implementation

MqttServerSecureConnection.fromConnect(
    String server, int port, events.EventBus eventBus)
    : super(eventBus) {
  connect(server, port);
}