DataPacketOut Event
Fired when sending a data packet to the server.
Syntax
class ClientDataPacketOutEventParams { public: const QByteArray &DataPacket(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void DataPacketOut(ClientDataPacketOutEventParams *e);
// Or, subclass Client and override this emitter function. virtual int FireDataPacketOut(ClientDataPacketOutEventParams *e) {...}
Remarks
This event fires right before each data packet is sent. The entire data packet (including all framing and error detection characters) is contained in the DataPacket parameter. This parameter may be inspected for advanced troubleshooting, or may be modified to support additional features beyond the scope of this component.