SecureBlackbox Lite 2020 Kotlin Edition

Questions / Feedback?

CommandCompleted Event

Signifies completion of the command execution.

Syntax

public open class DefaultSshclientEventListener : SshclientEventListener {
  ...
  public override fun commandCompleted(e: SshclientCommandCompletedEvent) {}
  ...
}

public class SshclientCommandCompletedEvent {
  val command: String?
  val exitStatus: Int
  val exitMessage: String?
  val exitSignal: String?
}

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 Kotlin Edition - Version 20.0 [Build 8063]