Interface CommandReader
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
AbstractCommandReader
,DefaultCommandReader
,TestLessInputStream
,TestProvidingInputStream
Stream reader returns bytes which ar finally sent to the forked jvm.
- Since:
- 3.0.0-M4
-
Method Details
-
readNextCommand
Waits for the next command and returns it.- Returns:
- the command, or null if closed
- Throws:
IOException
-
close
void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
isClosed
boolean isClosed()
-