Internet Direct (Indy)
Home
PreviousUpNext
TIdRSHCommandEvent Type

Event type signalled to allow command execution for a RSH session.

Pascal
TIdRSHCommandEvent = procedure (AThread: TIdContext; AStdError : TIdTCPClient; AClientUserName, AHostUserName, ACommand : String) of object;
Parameters 
Description 
AThread 
Client connection for the event notification.
 
AStdError 
Connectin used for the standard error redirection.
 
AClientUserName 
Client Authentication identity for the session.
 
AHostUserName 
Host Authentication identity for the session.
 
ACommand 
Command or service request for the RSH sessions. 

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 the context for the client connection in AThread, or the connection for redirected standard error output using AStdError.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.