ReadyToSend Event
Fired when the class is ready to send data.
Syntax
ANSI (Cross Platform) virtual int FireReadyToSend(MQTTReadyToSendEventParams *e);
typedef struct { int reserved; } MQTTReadyToSendEventParams; Unicode (Windows) virtual INT FireReadyToSend(MQTTReadyToSendEventParams *e);
typedef struct { INT reserved; } MQTTReadyToSendEventParams;
- (void)onReadyToSend;
#define EID_MQTT_READYTOSEND 9 virtual INT IPWORKSIOT_CALL FireReadyToSend();
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.