Indy 9 | Content | Index | Reference

TLogItemDataEvent
See Also, Unit: IdLogEvent
Represents the event type triggered when data is sent or received on a socket connection.

    TLogItemDataEvent = procedure (ASender: TComponent; const AText: string; const AData: string) of object;

Unit
IdLogEvent
Parameters
AData
Data read or written using the socket.
ASender
Component triggering the event notification.
AText
Message indicating the operation performed.
Description
TLogItemDataEvent is an event type triggered when data is sent or received on a socket connection. TLogItemDataEvent is the event type required for the TIdLogEvent event handlers, OnReceived and OnSent.

ASender is the component that triggered the event notification. AText and AData represent the type of operation performed and the values involved in the operation.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.