Internet Direct (Indy) Version 9.0.2 Beta
TIdTCPServer.OnBeforeCommandHandler
Represents the event handler signalled before CommandHandler usgage.

property OnBeforeCommandHandler: TIdBeforeCommandHandlerEvent;
Description
OnBeforeCommandHandler is a TIdBeforeCommandHandlerEvent property that represents the event handler signalled before CommandHandlers is used to service an executing peer thread connection. Note: OnBeforeCommandHandler does not indicate that a TIdCommandHandler will located for a command from the client.

Use OnNoCommandHandler to respond to event notifications when a command handler cannot be located for a client command. Use OnAfterCommandHandler to respond to event notifications after command handler useage has been completed.