MqttServerConnection<T extends Object>.fromConnect constructor

MqttServerConnection<T extends Object>.fromConnect(
  1. dynamic server,
  2. dynamic port,
  3. dynamic clientEventBus,
  4. List<RawSocketOption> socketOptions,
)

Initializes a new instance of the MqttConnection class.

Implementation

MqttServerConnection.fromConnect(
    server, port, clientEventBus, this.socketOptions)
    : super(clientEventBus) {
  connect(server, port);
}