public class NetworkSystem
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
isAlive
True if this NetworkSystem has never had his endpoints terminated
|
Constructor and Description |
---|
NetworkSystem(MinecraftServer p_i45292_1_) |
Modifier and Type | Method and Description |
---|---|
void |
addLanEndpoint(java.net.InetAddress p_151265_1_,
int p_151265_2_)
Adds a channel that listens on publicly accessible network ports
|
java.net.SocketAddress |
addLocalEndpoint()
Adds a channel that listens locally
|
MinecraftServer |
func_151267_d() |
void |
networkTick()
Will try to process the packets received by each NetworkManager, gracefully manage processing failures and cleans
up dead connections
|
void |
terminateEndpoints()
Shuts down all open endpoints (with immediate effect?)
|
public volatile boolean isAlive
public NetworkSystem(MinecraftServer p_i45292_1_)
public void addLanEndpoint(java.net.InetAddress p_151265_1_, int p_151265_2_) throws java.io.IOException
java.io.IOException
public java.net.SocketAddress addLocalEndpoint()
public void terminateEndpoints()
public void networkTick()
public MinecraftServer func_151267_d()