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