Package net.minecraft.network
Class NetworkSystem
java.lang.Object
net.minecraft.network.NetworkSystem
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<io.netty.channel.ChannelFuture>
private final List<NetworkManager>
private static final org.apache.logging.log4j.Logger
private static final int
boolean
private final MinecraftServer
static final LazyValue<io.netty.channel.epoll.EpollEventLoopGroup>
static final LazyValue<io.netty.channel.nio.NioEventLoopGroup>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
startTcpServerListener
(InetAddress p_151265_1_, int p_151265_2_) void
stop()
void
tick()
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
READ_TIMEOUT
private static final int READ_TIMEOUT -
SERVER_EVENT_GROUP
-
SERVER_EPOLL_EVENT_GROUP
-
server
-
running
public volatile boolean running -
channels
-
connections
-
-
Constructor Details
-
NetworkSystem
-
-
Method Details
-
startTcpServerListener
public void startTcpServerListener(@Nullable InetAddress p_151265_1_, int p_151265_2_) throws IOException - Throws:
IOException
-
startMemoryChannel
-
stop
public void stop() -
tick
public void tick() -
getServer
-