AReadable

interface AReadable

Represent a readable socket

Inheritors

Functions

Link copied to clipboard
abstract fun attachForReading(channel: ByteChannel): WriterJob

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

Link copied to clipboard

Open a read channel, could be done only once