toggle menu
korge-root
5.1.0
jvm
switch theme
search in API
korge-core
/
korlibs.io.net
/
JvmNioAsyncServer
Jvm
Nio
Async
Server
jvm
class
JvmNioAsyncServer
(
val
requestPort
:
Int
,
val
host
:
String
,
val
backlog
:
Int
=
-1
)
:
AsyncServer
Members
Constructors
Jvm
Nio
Async
Server
Link copied to clipboard
jvm
constructor
(
requestPort
:
Int
,
host
:
String
,
backlog
:
Int
=
-1
)
Properties
backlog
Link copied to clipboard
jvm
open
override
val
backlog
:
Int
host
Link copied to clipboard
jvm
open
override
val
host
:
String
port
Link copied to clipboard
jvm
open
override
val
port
:
Int
request
Port
Link copied to clipboard
jvm
open
override
val
requestPort
:
Int
ssc
Link copied to clipboard
jvm
val
ssc
:
AsynchronousServerSocketChannel
Functions
accept
Link copied to clipboard
jvm
open
suspend override
fun
accept
(
)
:
AsyncClient
close
Link copied to clipboard
jvm
open
suspend override
fun
close
(
)
init
Link copied to clipboard
jvm
suspend
fun
init
(
)
listen
Link copied to clipboard
jvm
open
suspend
fun
listen
(
handler
:
suspend
(
AsyncClient
)
->
Unit
)
:
Closeable
listen
Flow
Link copied to clipboard
jvm
open
suspend
fun
listenFlow
(
)
:
Flow
<
AsyncClient
>