Topic Path: Symbol Reference > Classes > TIdCmdTCPServer Class > TIdCmdTCPServer Properties > CommandHandlers Property
ContentsIndexHome
PreviousUpNext
TIdCmdTCPServer.CommandHandlers Property

Command handlers used in the server implementation.

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

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