BootstrapFactory

@Singleton
class BootstrapFactory @Inject constructor(alloc: ByteBufAllocator)

Constructors

Link copied to clipboard
@Inject
constructor(alloc: ByteBufAllocator)

Functions

Link copied to clipboard
fun createBootstrap(group: EventLoopGroup, channel: KClass<out Channel>): Bootstrap
Link copied to clipboard
fun createServerBootstrap(group: EventLoopGroup, channel: KClass<out ServerChannel>): ServerBootstrap