public interface CommandReader extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isClosed() |
Command |
readNextCommand()
Waits for the next command and returns it.
|
void |
tryFlush() |
Command readNextCommand() throws IOException
IOExceptionvoid close()
close in interface AutoCloseableclose in interface Closeableboolean isClosed()
void tryFlush()
throws IOException
IOExceptionCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.