MqttServerConnection.fromConnect constructor
MqttServerConnection.fromConnect(
- dynamic server,
- int port,
- dynamic clientEventBus,
- List<
RawSocketOption> socketOptions, - Duration? socketTimeout,
Initializes a new instance of the MqttConnection class.
Implementation
MqttServerConnection.fromConnect(
server,
int port,
clientEventBus,
this.socketOptions,
this.socketTimeout,
) : super(clientEventBus) {
connect(server, port);
}