AReadable

interface AReadable

Represent a readable socket

Functions

Link copied to clipboard
abstract fun attachForReading(channel: <ERROR CLASS>): <ERROR CLASS>

Attach channel for reading so incoming bytes appears in the attached channel. Only one channel could be attached

Inheritors

Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
fun AReadable.openReadChannel(): <ERROR CLASS>

Open a read channel, could be done only once