Class NetworkSystem


  • public class NetworkSystem
    extends java.lang.Object
    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • READ_TIMEOUT

        private static final int READ_TIMEOUT
      • SERVER_EVENT_GROUP

        public static final LazyValue<io.netty.channel.nio.NioEventLoopGroup> SERVER_EVENT_GROUP
      • SERVER_EPOLL_EVENT_GROUP

        public static final LazyValue<io.netty.channel.epoll.EpollEventLoopGroup> SERVER_EPOLL_EVENT_GROUP
      • running

        public volatile boolean running
      • channels

        private final java.util.List<io.netty.channel.ChannelFuture> channels
      • connections

        private final java.util.List<NetworkManager> connections
    • Constructor Detail

    • Method Detail

      • startTcpServerListener

        public void startTcpServerListener​(@Nullable
                                           java.net.InetAddress p_151265_1_,
                                           int p_151265_2_)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • startMemoryChannel

        public java.net.SocketAddress startMemoryChannel()
      • stop

        public void stop()
      • tick

        public void tick()