Topic Path: Symbol Reference > Classes > TIdCommandHandler Class > TIdCommandHandler Properties > Disconnect Property
ContentsIndexHome
PreviousUpNext
TIdCommandHandler.Disconnect Property

Closes the connection to the peer after handling a command.

property Disconnect: boolean;

Disconnect is a Boolean property that indicates if the command handler should close the connection to the peer after the Enabled command handler is invoked. Disconnect is used in Check, after an associated TIdCommand object instance has been created, prepared, and signalled to the OnCommand event handler. When Disconnect is True, the peer thread connection is closed prior to exiting from the Check.

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