Internet Direct (Indy)
Home
PreviousUpNext
TIdRexecServer.OnCommand Event

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

Pascal
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.

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.