Indy 9
TIdRSHCommandEvent
See Also, Unit: IdRSHServer
Event type signalled to allow command execution for a RSH session.
TIdRSHCommandEvent = procedure (AThread: TIdPeerThread; AStdError : TIdTCPClient; AClientUserName, AHostUserName, ACommand : String) of object;
Unit
IdRSHServer
Parameters
AClientUserName
Client Authentication identity for the session.
ACommand
Command or service request for the RSH sessions.
AHostUserName
Host Authentication identity for the session.
AStdError
Connectin used for the standard error redirection.
AThread
Client connection for the event notification.
Description
TIdRSHCommandEvent is an event type signalled to indicate that the RSH Daemon needs to execute a command or service request for a client connection. TIdRSHCommandEvent is the event type signalled to the the TIdRSHServer.OnCommand event handler during execution of the client thread.

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.


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