Contents
Class AuthenticationPacketHandler
java.lang.Object
com.hypixel.hytale.server.core.io.PacketHandler
com.hypixel.hytale.server.core.io.handlers.GenericConnectionPacketHandler
com.hypixel.hytale.server.core.io.handlers.login.HandshakeHandler
com.hypixel.hytale.server.core.io.handlers.login.AuthenticationPacketHandler
- All Implemented Interfaces:
ConnectionHandler, IPacketReceiver
The initial packet handler for a player that is authenticating. See
HandshakeHandler for more details.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceNested classes/interfaces inherited from class PacketHandler
PacketHandler.DisconnectReason, PacketHandler.PingInfo -
Field Summary
Fields inherited from class PacketHandler
DEFAULT_STREAM_PRIORITIES, MAX_PACKET_ID -
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationPacketHandler(ChannelConnection channel, ProtocolVersion protocolVersion, String language, AuthenticationPacketHandler.AuthHandlerSupplier authHandlerSupplier, ClientType clientType, String identityToken, byte[] referralData, HostAddress referralSource) -
Method Summary
Methods inherited from class HandshakeHandler
accept, handle, handleMethods inherited from class PacketHandler
checkStreamOpenRateLimit, closed, compareAndSetChannel, disconnect, disconnect, getAccountProfile, getAuth, getAuxiliaryChannelCount, getChannel, getChannel, getChannel, getClientReadyForChunksFuture, getDisconnectReason, getOperationTimeoutThreshold, getPacketStatsRecorder, getPingInfo, getProtocolVersion, getQueuedPacketsCount, getSniHostname, handle, handlePong, isLANConnection, isLocalConnection, logCloseMessage, logConnectionTimings, registered, sendPing, setChannel, setChannel, setClientReadyForChunksFuture, setQueuePackets, stillActive, tickPing, tryFlush, unregistered, write, write, write, writeNoCache, writePacket
-
Constructor Details
-
AuthenticationPacketHandler
public AuthenticationPacketHandler(@Nonnull ChannelConnection channel, @Nonnull ProtocolVersion protocolVersion, @Nonnull String language, @Nonnull AuthenticationPacketHandler.AuthHandlerSupplier authHandlerSupplier, @Nonnull ClientType clientType, @Nonnull String identityToken, @Nullable byte[] referralData, @Nullable HostAddress referralSource)
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifierin classPacketHandler- Returns:
- the unique identifier for this handler
-
registered0
- Overrides:
registered0in classHandshakeHandler
-