Stdout Event

Fired when data (complete lines) come in through stdout.

Syntax

public open class DefaultRexecEventListener : RexecEventListener {
  ...
  public override fun stdout(e: RexecStdoutEvent) {}
  ...
}

public class RexecStdoutEvent {
  val text: ByteArray?
  val eol: Boolean
}

Remarks

The Stdout event is fired every time the process on the remote host outputs a line in its standard output. The incoming data is provided through the Text parameter.

EOL indicates whether the EOL string was found on the end of Text or not. If the EOL string was found then EOL is True, otherwise it is False.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks 2020 Kotlin Edition - Version 20.0 [Build 7941]