-
- All Implemented Interfaces:
-
net.pwall.pipeline.BaseCoAcceptor,net.pwall.pipeline.IntCoAcceptor
public final class KtorByteChannelCoAcceptor extends AbstractIntCoAcceptor<Unit>
Implementation of IntCoAcceptor to send data to a Ktor ByteWriteChannel.
-
-
Constructor Summary
Constructors Constructor Description KtorByteChannelCoAcceptor(ByteWriteChannel channel)
-
Method Summary
Modifier and Type Method Description UnitacceptInt(Integer value)Accept a value, after closedcheck and test for end of data.Unitclose()Close the acceptor. Unitflush()Flush the output to the channel. -
Methods inherited from class net.pwall.pipeline.BaseAbstractCoAcceptor
getClosed -
Methods inherited from class net.pwall.pipeline.BaseCoAcceptor
getComplete, getResult -
Methods inherited from class net.pwall.pipeline.AbstractIntCoAcceptor
accept -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-