Topic Path: Symbol Reference > Classes > TIdCmdTCPServer Class > TIdCmdTCPServer Events > OnAfterCommandHandler Event
ContentsIndexHome
PreviousUpNext
TIdCmdTCPServer.OnAfterCommandHandler Event

Represents the event handler signalled after CommandHandler usgage.

property OnAfterCommandHandler: TIdCmdTCPServerAfterCommandHandlerEvent;

OnAfterCommandHandler is a TIdCmdTCPServerAfterCommandHandlerEvent property that represents the event handler signalled following execution of a command handler for a client connection. 

The client connection context generating the command and/or data is passed as an argument to the event handler. 

OnAfterCommandHandler is assigned to the corresponding event handler in TIdCommandHandlers during initialization of the component. OnAfterCommandHandler is triggered in the TIdCommandHandlers.HandleCommand method after checking for a valid command handler in the collection. 

Use OnBeforeCommandHandler to access the client connection context prior to checking for a valid command handler in the collection.

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