Topic Path: Symbol Reference > Types > TIdRexecCommandEvent Type
ContentsIndexHome
PreviousUpNext
TIdRexecCommandEvent Type

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

File
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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.