R - the result type
public class AbstractIntCoAcceptor<R> extends BaseAbstractCoAcceptor implements IntCoAcceptor<R>
Abstract implementation of interface IntCoAcceptor.
interface IntCoAcceptorIntCoAcceptor.DefaultImpls| Constructor and Description |
|---|
AbstractIntCoAcceptor()
Abstract implementation of
interface IntCoAcceptor. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(int p,
kotlin.coroutines.Continuation<? super kotlin.Unit> p1)
Accept an
int. Check for acceptor already closed, and handle end of data. |
java.lang.Object |
acceptInt(int value,
kotlin.coroutines.Continuation<? super kotlin.Unit> p)
Accept an
int, after closed check and test for end of data. Implementing classes must supply an
implementation of this method. |
close, getClosed, getComplete, getResultaccept, accept, acceptgetClosed, getComplete, getResultpublic AbstractIntCoAcceptor()
Abstract implementation of interface IntCoAcceptor.
interface IntCoAcceptor@Nullable
public java.lang.Object accept(int p,
@NotNull
kotlin.coroutines.Continuation<? super kotlin.Unit> p1)
Accept an int. Check for acceptor already closed, and handle end of data.
p - the input value@Nullable
public java.lang.Object acceptInt(int value,
@NotNull
kotlin.coroutines.Continuation<? super kotlin.Unit> p)
Accept an int, after closed check and test for end of data. Implementing classes must supply an
implementation of this method.
value - the input value