Interface Node.OutputCallback

Enclosing class:
Node

public static interface Node.OutputCallback
Callback interface for real-time output streaming.

Implementations receive stdout and stderr lines as they are produced, enabling real-time forwarding to accumulators without blocking.

Author:
devteam@scivicslab.com
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when a stderr line is read.
    void
    Called when a stdout line is read.
  • Method Details

    • onStdout

      void onStdout(String line)
      Called when a stdout line is read.
      Parameters:
      line - the stdout line (without newline)
    • onStderr

      void onStderr(String line)
      Called when a stderr line is read.
      Parameters:
      line - the stderr line (without newline)