Topic Path: Symbol Reference > Classes > TIdCmdTCPClient Class > TIdCmdTCPClient Events > OnBeforeCommandHandler Event
ContentsIndexHome
PreviousUpNext
TIdCmdTCPClient.OnBeforeCommandHandler Event

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

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.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.