CommandCompleted Event
Signifies completion of the command execution.
Syntax
class SSHClientCommandCompletedEventParams { public: const QString &Command(); int ExitStatus(); const QString &ExitMessage(); const QString &ExitSignal(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void CommandCompleted(SSHClientCommandCompletedEventParams *e);
// Or, subclass SSHClient and override this emitter function. virtual int FireCommandCompleted(SSHClientCommandCompletedEventParams *e) {...}
Remarks
Subscribe to this event to be notified about completion of the remote command execution. This event fires for every commandin the Commands list. The Command parameter indicates the command being completed.
ExitStatus specifies the command's return code. ExitMessage or ExitSignal parameters provide error details if the command execution was terminated forcefully,