ServerIncomingConnection

class ServerIncomingConnection(input: <ERROR CLASS>, output: <ERROR CLASS>, remoteAddress: <ERROR CLASS>?, localAddress: <ERROR CLASS>?)

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: <ERROR CLASS>, output: <ERROR CLASS>, remoteAddress: <ERROR CLASS>?, localAddress: <ERROR CLASS>?)

Properties

Link copied to clipboard
val input: <ERROR CLASS>

channel connected to incoming bytes end

Link copied to clipboard
val localAddress: <ERROR CLASS>?

on which the client was accepted (optional)

Link copied to clipboard
val output: <ERROR CLASS>

channel connected to outgoing bytes end

Link copied to clipboard
val remoteAddress: <ERROR CLASS>?

of the client (optional)