EventLoopGroupProxy

class EventLoopGroupProxy : EventLoopGroup

Transparently allows for the creation of EventLoopGroup’s utilising the optimal implementation for a given operating system, subject to availability, or falling back to NioEventLoopGroup if none is available.

Constructors

<init>

EventLoopGroupProxy(
    channel: KClass<out ServerSocketChannel>,
    group: EventLoopGroup)

Transparently allows for the creation of EventLoopGroup’s utilising the optimal implementation for a given operating system, subject to availability, or falling back to NioEventLoopGroup if none is available.

Properties

channel

val channel: KClass<out ServerSocketChannel>

Companion Object Functions

create

fun create(parallelism: Int): EventLoopGroupProxy