public final class NioChannelImplementationSelector extends Object implements NettyChannelImplementationSelector
NettyChannelImplementationSelector implementation that prefers nio-based channel implementation.| Modifier and Type | Method and Description |
|---|---|
Class<? extends io.netty.channel.Channel> |
getChannelClass() |
Class<? extends io.netty.channel.ServerChannel> |
getServerChannelClass() |
io.netty.channel.EventLoopGroup |
newEventLoopGroup(int numThreads,
ThreadFactory threadFactory)
Creates a new
EventLoopGroup. |
public io.netty.channel.EventLoopGroup newEventLoopGroup(int numThreads,
ThreadFactory threadFactory)
NettyChannelImplementationSelectorEventLoopGroup.newEventLoopGroup in interface NettyChannelImplementationSelectornumThreads - the number of threadsthreadFactory - the ThreadFactoryEventLoopGrouppublic Class<? extends io.netty.channel.ServerChannel> getServerChannelClass()
getServerChannelClass in interface NettyChannelImplementationSelectorpublic Class<? extends io.netty.channel.Channel> getChannelClass()
getChannelClass in interface NettyChannelImplementationSelectorCopyright © 2018. All rights reserved.