Record Class DiagnosticAdmissionCodec.Claims
java.lang.Object
java.lang.Record
org.cloudburstmc.netty.signaling.diagnostic.DiagnosticAdmissionCodec.Claims
- Enclosing class:
- DiagnosticAdmissionCodec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattemptIdHexrecord component.longReturns the value of thecandidateRevisionrecord component.Returns the value of theclientFingerprintHexrecord component.Returns the value of theclientIcePwdrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of theexpiresAtrecord component.intfamily()Returns the value of thefamilyrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theofferDigestHexrecord component.intprofile()Returns the value of theprofilerecord component.Returns the value of thetargetAddressHexrecord component.intReturns the value of thetargetPortrecord component.toString()Returns a string representation of this record class.
-
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 aClaimsrecord class.- Parameters:
expiresAt- the value for theexpiresAtrecord componentclientFingerprintHex- the value for theclientFingerprintHexrecord componentclientIcePwd- the value for theclientIcePwdrecord componentattemptIdHex- the value for theattemptIdHexrecord componentofferDigestHex- the value for theofferDigestHexrecord componentcandidateRevision- the value for thecandidateRevisionrecord componentfamily- the value for thefamilyrecord componenttargetAddressHex- the value for thetargetAddressHexrecord componenttargetPort- the value for thetargetPortrecord componentprofile- the value for theprofilerecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
expiresAt
public long expiresAt()Returns the value of theexpiresAtrecord component.- Returns:
- the value of the
expiresAtrecord component
-
clientFingerprintHex
Returns the value of theclientFingerprintHexrecord component.- Returns:
- the value of the
clientFingerprintHexrecord component
-
clientIcePwd
Returns the value of theclientIcePwdrecord component.- Returns:
- the value of the
clientIcePwdrecord component
-
attemptIdHex
Returns the value of theattemptIdHexrecord component.- Returns:
- the value of the
attemptIdHexrecord component
-
offerDigestHex
Returns the value of theofferDigestHexrecord component.- Returns:
- the value of the
offerDigestHexrecord component
-
candidateRevision
public long candidateRevision()Returns the value of thecandidateRevisionrecord component.- Returns:
- the value of the
candidateRevisionrecord component
-
family
public int family()Returns the value of thefamilyrecord component.- Returns:
- the value of the
familyrecord component
-
targetAddressHex
Returns the value of thetargetAddressHexrecord component.- Returns:
- the value of the
targetAddressHexrecord component
-
targetPort
public int targetPort()Returns the value of thetargetPortrecord component.- Returns:
- the value of the
targetPortrecord component
-
profile
public int profile()Returns the value of theprofilerecord component.- Returns:
- the value of the
profilerecord component
-