public class ServerHandshakeNetHandler extends java.lang.Object implements IHandshakeNetHandler
Modifier and Type | Field and Description |
---|---|
private NetworkManager |
networkManager |
private MinecraftServer |
server |
Constructor and Description |
---|
ServerHandshakeNetHandler(MinecraftServer serverIn,
NetworkManager netManager) |
Modifier and Type | Method and Description |
---|---|
NetworkManager |
getNetworkManager() |
void |
onDisconnect(ITextComponent reason) |
void |
processHandshake(CHandshakePacket packetIn) |
private final MinecraftServer server
private final NetworkManager networkManager
public ServerHandshakeNetHandler(MinecraftServer serverIn, NetworkManager netManager)
public void processHandshake(CHandshakePacket packetIn)
processHandshake
in interface IHandshakeNetHandler
public void onDisconnect(ITextComponent reason)
onDisconnect
in interface INetHandler
public NetworkManager getNetworkManager()
getNetworkManager
in interface INetHandler