Indy 9
|
TIdRSHCommandEvent = procedure (AThread: TIdPeerThread; AStdError : TIdTCPClient; AClientUserName, AHostUserName, ACommand : String) of object;
Applications must assign a procedure to the TIdRSHCommandEvent event handler to allow responding to the event notification. The event handler can access the connection for the RSH session using AThread, or the connection for redirected standard error output using AStdError.