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.