Internet Direct (Indy) Version 9.0.2 Beta
TIdRexecCommandEvent
Event type signalled to perform authentication and execution of the RExec session.

TIdRexecCommandEvent = procedure (AThread: TIdPeerThread; AStdError : TIdTCPClient; AUserName, APassword, ACommand : String) of object;
Description
TIdRexecCommandEvent is an event type signalled when a threaded client connection for TIdRexecServer needs to authenticate and execute a command from the client connection.

TIdRexecCommandEvent is the event type signalled to the TIdRexecServer.OnCommand event handler during execution of the thread for the client connection. Applications must assign a procedure to the event handler to allow responding to the event notification.