Class GlowSocketServer

java.lang.Object
net.glowstone.net.GlowNetworkServer
net.glowstone.net.GlowSocketServer
Direct Known Subclasses:
GameServer, RconServer

public abstract class GlowSocketServer extends GlowNetworkServer
  • Field Details

    • bossGroup

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

      protected final io.netty.channel.EventLoopGroup workerGroup
    • bootstrap

      protected final io.netty.bootstrap.ServerBootstrap bootstrap
    • channel

      protected io.netty.channel.Channel channel
  • Constructor Details

    • GlowSocketServer

      public GlowSocketServer(GlowServer server, ProtocolProvider protocolProvider, CountDownLatch latch)
      Creates an instance for the specified server.
      Parameters:
      server - the associated GlowServer
      latch - The countdown latch used during server startup to wait for network server binding.
  • Method Details