ServerIncomingConnection

class ServerIncomingConnection(val input: ByteReadChannel, val output: ByteWriteChannel, val remoteAddress: NetworkAddress?, val localAddress: NetworkAddress?)(source)

Represents a server incoming connection. Usually it is a TCP connection but potentially could be other transport.

Report a problem

Constructors

Link copied to clipboard
constructor(input: ByteReadChannel, output: ByteWriteChannel, remoteAddress: NetworkAddress?, localAddress: NetworkAddress?)

Properties

Link copied to clipboard
val input: ByteReadChannel

channel connected to incoming bytes end

Link copied to clipboard
val localAddress: NetworkAddress?

on which the client was accepted (optional)

Link copied to clipboard
val output: ByteWriteChannel

channel connected to outgoing bytes end

Link copied to clipboard
val remoteAddress: NetworkAddress?

of the client (optional)