Package pro.gravit.launchserver.socket
Class NettyObjectFactory
java.lang.Object
pro.gravit.launchserver.socket.NettyObjectFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.netty.channel.ChannelFactory<? extends io.netty.channel.ServerChannel>static io.netty.channel.EventLoopGroupnewEventLoopGroup(int threads, String poolName)static voidsetUsingEpoll(boolean value)
-
Constructor Details
-
NettyObjectFactory
public NettyObjectFactory()
-
-
Method Details
-
setUsingEpoll
public static void setUsingEpoll(boolean value) -
newEventLoopGroup
-
getServerSocketChannelFactory
public static io.netty.channel.ChannelFactory<? extends io.netty.channel.ServerChannel> getServerSocketChannelFactory()
-