public abstract class DefaultCommandReader extends AbstractCommandReader
input-stream.Command| Constructor and Description |
|---|
DefaultCommandReader() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beforeNextCommand()
Possibly waiting for next command (see
nextCommand()) unless the stream is atomically
closed (see CommandReader.isClosed() returns true) before this method has returned. |
protected boolean |
canContinue()
Opposite to
CommandReader.isClosed(). |
protected abstract Command |
nextCommand() |
Command |
readNextCommand()
Used by single thread in StreamFeeder class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, isClosedacknowledgeByeEventReceived, noop, provideNewTest, shutdown, skipSinceNextTestprotected boolean canContinue()
CommandReader.isClosed().true if not closedprotected void beforeNextCommand()
throws IOException
nextCommand()) unless the stream is atomically
closed (see CommandReader.isClosed() returns true) before this method has returned.IOException - stream error while waiting for notification regarding next test required by forked jvmprotected abstract Command nextCommand()
public Command readNextCommand() throws IOException
IOExceptionCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.