TwclDataProcessorWriteEvent Delegate
The TwclCustomDataProcessorOnWrite
event
handler prototype.
type TwclDataProcessorWriteEvent = procedure(Sender: TObject; const Data: Pointer; const Size: Cardinal; out Written: Cardinal; out WriteResult: Integer) of object;
Parameters
- Sender
The object that initiated the event.
- Data
The pointer to the data buffer that a Data Processor needs to send to a connection.
- Size
The data buffer size.
- Written
The amount of bytes actually written to the device.
- WriteResult
The write operation result.