Class InitialPacketHandler
java.lang.Object
com.hypixel.hytale.server.core.io.PacketHandler
com.hypixel.hytale.server.core.io.handlers.InitialPacketHandler
- All Implemented Interfaces:
IPacketReceiver
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hypixel.hytale.server.core.io.PacketHandler
PacketHandler.DisconnectReason, PacketHandler.PingInfo -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate booleanFields inherited from class com.hypixel.hytale.server.core.io.PacketHandler
auth, channel, clientReadyForChunksFuture, clientReadyForChunksFutureStack, disconnectReason, MAX_PACKET_ID, pingIdRandom, pingInfo, protocolVersion, queuedPackets, queuePackets, registered -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddisconnect(String message) private byte[]generatePasswordChallengeIfNeeded(UUID playerUuid) voidvoidhandle(Disconnect packet) voidregistered0(PacketHandler oldHandler) Methods inherited from class com.hypixel.hytale.server.core.io.PacketHandler
clearTimeout, closed, disconnect0, getAuth, getChannel, getClientReadyForChunksFuture, getDisconnectReason, getOperationTimeoutThreshold, getPacketStatsRecorder, getPingInfo, getProtocolVersion, getQueuedPacketsCount, handle, handlePong, isCompressionEnabled, isLANConnection, isLocalConnection, logCloseMessage, logConnectionTimings, registered, sendPing, setClientReadyForChunksFuture, setCompressionEnabled, setQueuePackets, setTimeout, stillActive, tickPing, tryFlush, unregistered, unregistered0, write, write, write, writeNoCache, writePacket
-
Field Details
-
MAX_REFERRAL_DATA_SIZE
private static final int MAX_REFERRAL_DATA_SIZE- See Also:
-
EDITOR_PACKET_HANDLER_SUPPLIER
@Nullable public static AuthenticationPacketHandler.AuthHandlerSupplier EDITOR_PACKET_HANDLER_SUPPLIER -
receivedConnect
private boolean receivedConnect
-
-
Constructor Details
-
InitialPacketHandler
public InitialPacketHandler(@Nonnull io.netty.channel.Channel channel)
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifierin classPacketHandler
-
registered0
- Overrides:
registered0in classPacketHandler
-
accept
- Specified by:
acceptin classPacketHandler
-
disconnect
- Overrides:
disconnectin classPacketHandler
-
handle
-
generatePasswordChallengeIfNeeded
-
handle
-