Stdout Event

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

Syntax

public class DefaultRexecEventListener implements RexecEventListener {
  ...
  public void stdout(RexecStdoutEvent e) {}
  ...
}

public class RexecStdoutEvent {
  public byte[] text;
  public boolean EOL;
}

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) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Java Edition - Version 20.0 [Build 8166]