Class EncryptionKeyResponseMessage

java.lang.Object
net.glowstone.net.message.login.EncryptionKeyResponseMessage
All Implemented Interfaces:
com.flowpowered.network.AsyncableMessage, com.flowpowered.network.Message
Direct Known Subclasses:
EncryptionKeyResponseWithSignature, EncryptionKeyResponseWithVerifyToken

public class EncryptionKeyResponseMessage extends Object implements com.flowpowered.network.AsyncableMessage
  • Constructor Details

    • EncryptionKeyResponseMessage

      public EncryptionKeyResponseMessage(byte[] sharedSecret, boolean hasVerifyToken)
  • Method Details

    • isAsync

      public boolean isAsync()
      Specified by:
      isAsync in interface com.flowpowered.network.AsyncableMessage
    • getSharedSecret

      public byte[] getSharedSecret()
    • hasVerifyToken

      public boolean hasVerifyToken()
    • toString

      public String toString()
      Specified by:
      toString in interface com.flowpowered.network.Message
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface com.flowpowered.network.Message
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.flowpowered.network.Message
      Overrides:
      hashCode in class Object