Topic Path: Symbol Reference > Classes > TIdRexecServer Class > TIdRexecServer Events > OnCommand Event
ContentsIndexHome
PreviousUpNext
TIdRexecServer.OnCommand Event

Event handler for executing a command from a remote client connection.

property OnCommand: TIdRexecCommandEvent;

OnCommand is a TIdRexecCommandEvent property that represents the event handler signalled during execution of the threaded context for the client connetion to the RExec protocol server. 

OnCommand allows the server to perform authentication and execution of a command request from the remote client using arguments provide in the TIdRexecCommandEvent event notification. 

Assign a procedure to the event handler in TIdRexecServer to allow responding to the event notification.

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