SecureBlackbox Lite 2020 C++ Edition

Questions / Feedback?

CommandCompleted Event

Signifies completion of the command execution.

Syntax

ANSI (Cross Platform)
virtual int FireCommandCompleted(SSHClientCommandCompletedEventParams *e);
typedef struct {
const char *Command;
int ExitStatus;
const char *ExitMessage;
const char *ExitSignal; int reserved; } SSHClientCommandCompletedEventParams; Unicode (Windows) virtual INT FireCommandCompleted(SSHClientCommandCompletedEventParams *e);
typedef struct {
LPCWSTR Command;
INT ExitStatus;
LPCWSTR ExitMessage;
LPCWSTR ExitSignal; INT reserved; } SSHClientCommandCompletedEventParams;
- (void)onCommandCompleted:(NSString*)command :(int)exitStatus :(NSString*)exitMessage :(NSString*)exitSignal;
#define EID_SSHCLIENT_COMMANDCOMPLETED 5

virtual INT SECUREBLACKBOXLITE_CALL FireCommandCompleted(LPSTR &lpszCommand, INT &iExitStatus, LPSTR &lpszExitMessage, LPSTR &lpszExitSignal);

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,

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 C++ Edition - Version 20.0 [Build 8166]