class ServerIncomingConnection
Represents a server incoming connection. Usually it is a TCP connection but potentially could be other transport.
ServerIncomingConnection(input: ByteReadChannel, output: ByteWriteChannel, remoteAddress: SocketAddress?) ServerIncomingConnection(input: ByteReadChannel, output: ByteWriteChannel, remoteAddress: SocketAddress?, localAddress: SocketAddress?)
Represents a server incoming connection. Usually it is a TCP connection but potentially could be other transport. |
val input: ByteReadChannel
channel connected to incoming bytes end |
|
val localAddress: SocketAddress?
on which the client was accepted (optional) |
|
val output: ByteWriteChannel
channel connected to outgoing bytes end |
|
val remoteAddress: SocketAddress?
of the client (optional) |