Interface CommandReader

    • Method Detail

      • readNextCommand

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

        void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
      • isClosed

        boolean isClosed()