interface AWritable
Represents a writable socket
abstract fun attachForWriting(channel: ByteChannel): ReaderJob
Attach channel for writing so bytes written to the attached channel will be transmitted Only one channel could be attached |
fun AWritable.openWriteChannel(autoFlush: Boolean = false): ByteWriteChannel
Open a write channel, could be opened only once |
interface AConnectedSocket : AWritable
Represent a connected socket |
|
interface ReadWriteSocket : ASocket, AReadable, AWritable
Represents both readable and writable socket |