Record Class DiagnosticAdmissionCodec.Claims

java.lang.Object
java.lang.Record
org.cloudburstmc.netty.signaling.diagnostic.DiagnosticAdmissionCodec.Claims
Enclosing class:
DiagnosticAdmissionCodec

public static record DiagnosticAdmissionCodec.Claims(long expiresAt, String clientFingerprintHex, String clientIcePwd, String attemptIdHex, String offerDigestHex, long candidateRevision, int family, String targetAddressHex, int targetPort, int profile) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    Claims(long expiresAt, String clientFingerprintHex, String clientIcePwd, String attemptIdHex, String offerDigestHex, long candidateRevision, int family, String targetAddressHex, int targetPort, int profile)
    Creates an instance of a Claims record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the attemptIdHex record component.
    long
    Returns the value of the candidateRevision record component.
    Returns the value of the clientFingerprintHex record component.
    Returns the value of the clientIcePwd record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    long
    Returns the value of the expiresAt record component.
    int
    Returns the value of the family record component.
    final int
    Returns a hash code value for this object.
    Returns the value of the offerDigestHex record component.
    int
    Returns the value of the profile record component.
    Returns the value of the targetAddressHex record component.
    int
    Returns the value of the targetPort record component.
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Claims

      public Claims(long expiresAt, String clientFingerprintHex, String clientIcePwd, String attemptIdHex, String offerDigestHex, long candidateRevision, int family, String targetAddressHex, int targetPort, int profile)
      Creates an instance of a Claims record class.
      Parameters:
      expiresAt - the value for the expiresAt record component
      clientFingerprintHex - the value for the clientFingerprintHex record component
      clientIcePwd - the value for the clientIcePwd record component
      attemptIdHex - the value for the attemptIdHex record component
      offerDigestHex - the value for the offerDigestHex record component
      candidateRevision - the value for the candidateRevision record component
      family - the value for the family record component
      targetAddressHex - the value for the targetAddressHex record component
      targetPort - the value for the targetPort record component
      profile - the value for the profile record component
  • Method Details

    • toString

      public String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • expiresAt

      public long expiresAt()
      Returns the value of the expiresAt record component.
      Returns:
      the value of the expiresAt record component
    • clientFingerprintHex

      public String clientFingerprintHex()
      Returns the value of the clientFingerprintHex record component.
      Returns:
      the value of the clientFingerprintHex record component
    • clientIcePwd

      public String clientIcePwd()
      Returns the value of the clientIcePwd record component.
      Returns:
      the value of the clientIcePwd record component
    • attemptIdHex

      public String attemptIdHex()
      Returns the value of the attemptIdHex record component.
      Returns:
      the value of the attemptIdHex record component
    • offerDigestHex

      public String offerDigestHex()
      Returns the value of the offerDigestHex record component.
      Returns:
      the value of the offerDigestHex record component
    • candidateRevision

      public long candidateRevision()
      Returns the value of the candidateRevision record component.
      Returns:
      the value of the candidateRevision record component
    • family

      public int family()
      Returns the value of the family record component.
      Returns:
      the value of the family record component
    • targetAddressHex

      public String targetAddressHex()
      Returns the value of the targetAddressHex record component.
      Returns:
      the value of the targetAddressHex record component
    • targetPort

      public int targetPort()
      Returns the value of the targetPort record component.
      Returns:
      the value of the targetPort record component
    • profile

      public int profile()
      Returns the value of the profile record component.
      Returns:
      the value of the profile record component