Internet Direct (Indy)
Home
PreviousUpNext
TIdRexecCommandEvent Type

Event type signalled to perform authentication and execution of the RExec session.

Pascal
TIdRexecCommandEvent = procedure (AThread: TIdContext; AStdError : TIdTCPClient; AUserName, APassword, ACommand : String) of object;
Parameters 
Description 
AThread 
Client connection for the event notification.
 
AStdError 
Connection used for redirecting output to the client.
 
AUserName 
Authentication identity for the client connection.
 
APassword 
Authentication credentials for the client connection.
 
ACommand 
Command to be performed in the RExec session. 

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 that is the context for the client connection. 

Applications must assign a procedure to the event handler to allow responding to the event notification.

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.