Class NettyObjectFactory

java.lang.Object
pro.gravit.launchserver.socket.NettyObjectFactory

public class NettyObjectFactory extends Object
  • Constructor Details

    • NettyObjectFactory

      public NettyObjectFactory()
  • Method Details

    • setUsingEpoll

      public static void setUsingEpoll(boolean value)
    • newEventLoopGroup

      public static io.netty.channel.EventLoopGroup newEventLoopGroup(int threads, String poolName)
    • getServerSocketChannelFactory

      public static io.netty.channel.ChannelFactory<? extends io.netty.channel.ServerChannel> getServerSocketChannelFactory()