Indy 9
TIdRexecCommandEvent
See Also, Unit: IdRexecServer
Event type signalled to perform authentication and execution of the RExec session.
TIdRexecCommandEvent = procedure (AThread: TIdPeerThread; AStdError : TIdTCPClient; AUserName, APassword, ACommand : String) of object;
Unit
IdRexecServer
Parameters
ACommand
Command to be performed in the RExec session.
APassword
Authentication credentials for the client connection.
AStdError
Connection used for redirecting output to the client.
AThread
Client connection for the event notification.
AUserName
Authentication identity for the client connection.
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.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.