Class LauncherNettyServer

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class LauncherNettyServer
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Field Detail

      • serverBootstrap

        public final io.netty.bootstrap.ServerBootstrap serverBootstrap
      • bossGroup

        public final io.netty.channel.EventLoopGroup bossGroup
      • workerGroup

        public final io.netty.channel.EventLoopGroup workerGroup
      • pipelineHook

        public final pro.gravit.utils.BiHookSet<NettyConnectContext,​io.netty.channel.socket.SocketChannel> pipelineHook
    • Constructor Detail

      • LauncherNettyServer

        public LauncherNettyServer​(LaunchServer server)
    • Method Detail

      • bind

        public io.netty.channel.ChannelFuture bind​(java.net.InetSocketAddress address)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable