Package net.minecraft.src
Class NetLoginHandler
- java.lang.Object
-
- net.minecraft.src.NetHandler
-
- net.minecraft.src.NetLoginHandler
-
public class NetLoginHandler extends NetHandler
-
-
Field Summary
Fields Modifier and Type Field Description boolean
finishedProcessing
static java.util.logging.Logger
logger
NetworkManager
netManager
-
Fields inherited from class net.minecraft.src.NetHandler
protocolVersion
-
-
Constructor Summary
Constructors Constructor Description NetLoginHandler(MinecraftServer minecraftServer, java.net.Socket socket, java.lang.String string)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doLogin(GameProfile profile)
java.lang.String
getUserAndIPString()
void
handleErrorMessage(java.lang.String string, java.lang.Object[] var2)
void
handleHandshake(Packet2Handshake par1Packet2Handshake)
void
handleLogin(Packet1Login par1Packet1Login)
void
handleServerPing(Packet254ServerPing par1Packet254ServerPing)
boolean
isServerHandler()
void
kickUser(java.lang.String var1)
void
registerPacket(Packet var1)
void
tryLogin()
-
Methods inherited from class net.minecraft.src.NetHandler
func_48487_a, func_50100_a, getProtocolVersion, handleAnimation, handleAttachEntity, handleBed, handleBlockChange, handleBlockDig, handleBlockItemSwitch, handleChat, handleCloseWindow, handleCollect, handleCreativeSetSlot, handleCustomPayload, handleDestroyEntity, handleDoorChange, handleEnchantItem, handleEntity, handleEntityAction, handleEntityEffect, handleEntityExpOrb, handleEntityHeadRotation, handleEntityMetadata, handleEntityPainting, handleEntityStatus, handleEntityTeleport, handleEntityVelocity, handleExperience, handleExplosion, handleFlying, handleKeepAlive, handleKickDisconnect, handleLegacyChunkPacket, handleLogin, handleMapData, handleMobSpawn, handleMultiBlockChange, handleNamedEntitySpawn, handleOpenWindow, handlePickupSpawn, handlePlace, handlePlayerInfo, handlePlayerInventory, handlePlayNoteBlock, handlePreChunk, handleRemoveEntityEffect, handleRespawn, handleRespawn, handleSetSlot, handleSleep, handleSpawnPosition, handleStatistic, handleTileEntityData, handleTransaction, handleUpdateHealth, handleUpdateProgressbar, handleUpdateSign, handleUpdateTime, handleUseEntity, handleVehicleSpawn, handleWeather, handleWindowClick, handleWindowItems
-
-
-
-
Field Detail
-
logger
public static java.util.logging.Logger logger
-
netManager
public NetworkManager netManager
-
finishedProcessing
public boolean finishedProcessing
-
-
Constructor Detail
-
NetLoginHandler
public NetLoginHandler(MinecraftServer minecraftServer, java.net.Socket socket, java.lang.String string) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
tryLogin
public void tryLogin()
-
kickUser
public void kickUser(java.lang.String var1)
-
handleHandshake
public void handleHandshake(Packet2Handshake par1Packet2Handshake)
- Overrides:
handleHandshake
in classNetHandler
-
handleLogin
public void handleLogin(Packet1Login par1Packet1Login)
- Overrides:
handleLogin
in classNetHandler
-
doLogin
public void doLogin(GameProfile profile)
-
handleErrorMessage
public void handleErrorMessage(java.lang.String string, java.lang.Object[] var2)
- Overrides:
handleErrorMessage
in classNetHandler
-
handleServerPing
public void handleServerPing(Packet254ServerPing par1Packet254ServerPing)
- Overrides:
handleServerPing
in classNetHandler
-
registerPacket
public void registerPacket(Packet var1)
- Overrides:
registerPacket
in classNetHandler
-
getUserAndIPString
public java.lang.String getUserAndIPString()
-
isServerHandler
public boolean isServerHandler()
- Specified by:
isServerHandler
in classNetHandler
-
-