Package pro.gravit.launchserver.socket
Class NettyObjectFactory
- java.lang.Object
-
- pro.gravit.launchserver.socket.NettyObjectFactory
-
public class NettyObjectFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NettyObjectFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.netty.channel.ChannelFactory<? extends io.netty.channel.ServerChannel>getServerSocketChannelFactory()static io.netty.channel.EventLoopGroupnewEventLoopGroup(int threads)static voidsetUsingEpoll(boolean value)
-
-
-
Method Detail
-
setUsingEpoll
public static void setUsingEpoll(boolean value)
-
newEventLoopGroup
public static io.netty.channel.EventLoopGroup newEventLoopGroup(int threads)
-
getServerSocketChannelFactory
public static io.netty.channel.ChannelFactory<? extends io.netty.channel.ServerChannel> getServerSocketChannelFactory()
-
-