Class NetworkServer

java.lang.Object
org.geysermc.mcprotocollib.network.server.AbstractServer
org.geysermc.mcprotocollib.network.server.NetworkServer
All Implemented Interfaces:
Server

public class NetworkServer extends AbstractServer
  • Constructor Details

  • Method Details

    • isListening

      public boolean isListening()
      Description copied from interface: Server
      Returns true if the listener is listening.
      Returns:
      True if the listener is listening.
    • bindImpl

      public void bindImpl(boolean wait, Runnable callback)
      Specified by:
      bindImpl in class AbstractServer
    • getChannelFactory

      protected io.netty.channel.ChannelFactory<? extends io.netty.channel.ServerChannel> getChannelFactory()
    • createBossEventLoopGroup

      protected io.netty.channel.EventLoopGroup createBossEventLoopGroup()
    • createWorkerEventLoopGroup

      protected io.netty.channel.EventLoopGroup createWorkerEventLoopGroup()
    • setOptions

      protected void setOptions(io.netty.bootstrap.ServerBootstrap bootstrap)
    • getChannelHandler

      protected io.netty.channel.ChannelHandler getChannelHandler()
    • closeImpl

      public void closeImpl(boolean wait, Runnable callback)
      Specified by:
      closeImpl in class AbstractServer