public class NetHandlerStatusServer extends java.lang.Object implements INetHandlerStatusServer
Modifier and Type | Field and Description |
---|---|
private static ITextComponent |
EXIT_MESSAGE |
private boolean |
handled |
private NetworkManager |
networkManager |
private MinecraftServer |
server |
Constructor and Description |
---|
NetHandlerStatusServer(MinecraftServer serverIn,
NetworkManager netManager) |
Modifier and Type | Method and Description |
---|---|
void |
onDisconnect(ITextComponent reason) |
void |
processPing(CPacketPing packetIn) |
void |
processServerQuery(CPacketServerQuery packetIn) |
private static final ITextComponent EXIT_MESSAGE
private final MinecraftServer server
private final NetworkManager networkManager
private boolean handled
public NetHandlerStatusServer(MinecraftServer serverIn, NetworkManager netManager)
public void onDisconnect(ITextComponent reason)
onDisconnect
in interface INetHandler
public void processServerQuery(CPacketServerQuery packetIn)
processServerQuery
in interface INetHandlerStatusServer
public void processPing(CPacketPing packetIn)
processPing
in interface INetHandlerStatusServer