ReadyToSend Event

Fired when the class is ready to send data.

Syntax

public class DefaultMqttEventListener implements MqttEventListener {
  ...
  public void readyToSend(MqttReadyToSendEvent e) {}
  ...
}

public class MqttReadyToSendEvent {
}

Remarks

The ReadyToSend event indicates that the underlying TCP/IP subsystem is ready to accept data after a call to PublishData or PublishMessage fails due to a WOULDBLOCK condition. The event is also fired immediately after a connection to the remote host is established.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 Java Edition - Version 20.0 [Build 8162]