Internet Direct (Indy)
Home
PreviousUpNext
TIdCmdTCPClient.OnBeforeCommandHandler Event

Event handler triggered before execution of a TIdCommand in the command handler-enabled client.

Pascal
property OnBeforeCommandHandler: TIdCmdTCPClientBeforeCommandHandlerEvent;

OnBeforeCommandHandler is a TIdCmdTCPClientBeforeCommandHandlerEvent event handler property used to respond to the notification ocurring prior to execution of a TIdCommand instance the CommandHandlers collection. 

Procedures assigned to the OnBeforeCommandHandler and OnAfterCommandHandler event handlers are in turn executed using the corresponding methods in the CommandHandlers collection. 

Arguments provided to the event handler identify the TIdCmdTCPClient client, the TIdContext for the event notification, and the data read from the peer connection and passed to the event handler.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.