Classes and utilities for coroutine based networking.
These classes are included in the complete Tuweni distribution, or separately when using the gradle dependency org.apache.tuweni:tuweni-net-coroutines
(tuweni-net-coroutines.jar
).
interface CoroutineByteChannel : ReadableCoroutineByteChannel, WritableCoroutineByteChannel
A co-routine channel that can read and write bytes. |
|
sealed class CoroutineChannelGroup
A grouping of co-routine channels for the purpose of resource sharing. |
|
class CoroutineDatagramChannel : CoroutineByteChannel, ScatteringCoroutineByteChannel, GatheringCoroutineByteChannel, CoroutineNetworkChannel
A co-routine based datagram-oriented network channel. |
|
interface CoroutineNetworkChannel : NetworkChannel
A co-routine based network channel. |
|
sealed class CoroutineSelector
A selector for co-routine based channel IO. |
|
class CoroutineServerSocketChannel : CoroutineNetworkChannel
A co-routine based network channel for stream-oriented connection listening. |
|
class CoroutineSocketChannel : CoroutineByteChannel, ScatteringCoroutineByteChannel, GatheringCoroutineByteChannel, CoroutineNetworkChannel
A co-routine based stream-oriented network channel. |
|
interface GatheringCoroutineByteChannel : WritableCoroutineByteChannel
A channel that can write bytes from a sequence of buffers. |
|
interface ReadableCoroutineByteChannel
A co-routine channel that can read bytes. |
|
interface ScatteringCoroutineByteChannel : ReadableCoroutineByteChannel
A channel that can read bytes into a sequence of buffers. |
|
interface WritableCoroutineByteChannel
A co-routine channel that can write bytes. |
val CommonCoroutineGroup: CoroutineChannelGroup
A common co-routine channel group. |