R - the result typepublic abstract class BaseAbstractAcceptor<R> extends Object implements BaseAcceptor<R>
AbstractAcceptor and AbstractIntAcceptor.| Constructor and Description |
|---|
BaseAbstractAcceptor()
Construct a
BaseAbstractAcceptor. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the acceptor.
|
boolean |
isClosed()
Return
true if the acceptor is closed, that is, an end of data marker has been received. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflush, getResult, isComplete, safeClosepublic BaseAbstractAcceptor()
BaseAbstractAcceptor.public boolean isClosed()
true if the acceptor is closed, that is, an end of data marker has been received.isClosed in interface BaseAcceptor<R>true if the acceptor is closedpublic void close()
throws Exception
close in interface AutoCloseableIllegalStateException - if the acceptor is not in the "complete" stateExceptionCopyright © 2025. All rights reserved.