Interface CommandReader

All Superinterfaces:
AutoCloseable, Closeable

public interface CommandReader extends Closeable
Stream reader returns bytes which ar finally sent to the forked jvm.
Since:
3.0.0-M4
Author:
Tibor Digana (tibor17)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
     
    Waits for the next command and returns it.
  • Method Details

    • readNextCommand

      Command readNextCommand() throws IOException
      Waits for the next command and returns it.
      Returns:
      the command, or null if closed
      Throws:
      IOException
    • close

      void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • isClosed

      boolean isClosed()