Internet Direct (Indy)
Home
PreviousUpNext
TIdCmdTCPServer.CommandHandlers Property

Command handlers used in the server implementation.

Pascal
property CommandHandlers: TIdCommandHandlers;

CommandHandlers is a TIdCommandHandlers property that represents TIdCommandHandler instances allocated for commands, replies, and actions implemented for the server. 

CommandHandlers is used during execution of the client context to examine and respond to commands and data received from an executing client connection. CommandHandlersEnabled must be set to True to allow use of the CommandHandlers for the server. 

CommandHandlers is initialized when the server becomes Active if command handler instances have not already been allocated (at designtime) for the server. 

Use OnExecute to provide an alternate event handler for the execution of client connections when CommandHandlersEnabled is set to False.

TIdCommandHandler 

TIdCommandHandlers 

CommandHandlersEnabled 

OnExecute 

Active

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.