Class LoginStartMessage

java.lang.Object
net.glowstone.net.message.login.LoginStartMessage
All Implemented Interfaces:
com.flowpowered.network.AsyncableMessage, com.flowpowered.network.Message

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

    • LoginStartMessage

      public LoginStartMessage(String username, long timestamp, byte[] publicKey, byte[] signature)
  • Method Details

    • isAsync

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

      public String getUsername()
    • getTimestamp

      public long getTimestamp()
    • getPublicKey

      public byte[] getPublicKey()
    • getSignature

      public byte[] getSignature()
    • equals

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

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

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