AuthenticationPacketHandler

public class AuthenticationPacketHandler extends HandshakeHandler

Class AuthenticationPacketHandler. Provides authenticationpackethandler functionality for the Hytale server.

java.lang.Object > HandshakeHandler > AuthenticationPacketHandler

Field Summary

maxPlayers

final int maxPlayers

Field maxPlayers.

Method Detail

AuthenticationPacketHandler

public public AuthenticationPacketHandler (@Nonnull final Channel channel, @Nonnull final ProtocolVersion protocolVersion, @Nonnull final String language, @Nonnull final AuthHandlerSupplier authHandlerSupplier, @Nonnull final ClientType clientType, @Nonnull final String identityToken, @Nonnull final UUID uuid, @Nonnull final String username, @Nullable final byte[] referralData, @Nullable final HostAddress referralSource)

Method AuthenticationPacketHandler.

Parameters:
@Nonnull final Channel channel
@Nonnull final ProtocolVersion protocolVersion
@Nonnull final String language
@Nonnull final AuthHandlerSupplier authHandlerSupplier
@Nonnull final ClientType clientType
@Nonnull final String identityToken
@Nonnull final UUID uuid
@Nonnull final String username
@Nullable final byte[] referralData
@Nullable final HostAddress referralSource

getIdentifier

public String getIdentifier ()

Method getIdentifier.

registered0

public void registered0 (final PacketHandler oldHandler)

Method registered0.

Parameters:
final PacketHandler oldHandler

onAuthenticated

protected void onAuthenticated (final byte[] passwordChallenge)

Method onAuthenticated.

Parameters:
final byte[] passwordChallenge

PasswordPacketHandler

public new PasswordPacketHandler (this.channel, this.protocolVersion, this.language, this.auth.getUuid()

Method PasswordPacketHandler.

Parameters:
this.channel this.channel
this.protocolVersion this.protocolVersion
this.language this.language
this.auth.getUuid( this.auth.getUuid(