R - the result typepublic interface BaseAcceptor<R> extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
default void |
flush()
Flush the acceptor (required by some implementations - default is a no-operation).
|
R |
getResult()
Get the result of the acceptor.
|
boolean |
isClosed()
Return
true if the pipeline is closed. |
default boolean |
isComplete()
Return
true if all sequences in the input are complete, that is, the input is not in the middle of a
sequence requiring more data. |
closeboolean isClosed()
true if the pipeline is closed.true if the pipeline is closedR getResult()
default boolean isComplete()
true if all sequences in the input are complete, that is, the input is not in the middle of a
sequence requiring more data. This should be overridden by acceptors that process complex sequences of input.true if the input is in the "complete" statedefault void flush()
Copyright © 2020. All rights reserved.