MqttServerWsConnection.fromConnect constructor

MqttServerWsConnection.fromConnect(
  1. String server,
  2. int port,
  3. EventBus eventBus,
  4. List<RawSocketOption> socketOptions,
)

Initializes a new instance of the MqttConnection class.

Implementation

MqttServerWsConnection.fromConnect(String server, int port,
    events.EventBus eventBus, List<RawSocketOption> socketOptions)
    : super(eventBus, socketOptions) {
  connect(server, port);
}