Internet Direct (Indy) Version 9.0.2 Beta
TIdRexecServer.OnCommand
Event handler for executing a command from a remote client connection.

property OnCommand: TIdRexecCommandEvent;
Description
OnCommand is a TIdRexecCommandEvent property that represents the event handler signalled during execution of a threaqded 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.

The TIdRexecServer implementation must assign a procedure to the event handler to allow responding to the event notification.