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.