ServerIncomingConnection

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

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

Constructors

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

Properties

Link copied to clipboard

channel connected to incoming bytes end

Link copied to clipboard

on which the client was accepted (optional)

Link copied to clipboard

channel connected to outgoing bytes end

Link copied to clipboard

of the client (optional)