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