Record Class AssistedJoin
java.lang.Object
java.lang.Record
org.cloudburstmc.netty.signaling.control.AssistedJoin
public record AssistedJoin(String id, String instanceId, long generation, String incarnation, String keyId, String hostFingerprint, long expiresAt, String networkId, String cpk, String localUfrag, String localPassword, String offer)
extends Record
The only unsolicited NXS operation. It is accepted exclusively on an owned provider TLS WebSocket.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]canonicalCpk(String cpk) cpk()Returns the value of thecpkrecord component.static AssistedJoinbooleanfinal booleanIndicates whether some other object is "equal to" this one.longReturns the value of theexpiresAtrecord component.longReturns the value of thegenerationrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thehostFingerprintrecord component.id()Returns the value of theidrecord component.Returns the value of theincarnationrecord component.Returns the value of theinstanceIdrecord component.keyId()Returns the value of thekeyIdrecord component.Returns the value of thelocalPasswordrecord component.Returns the value of thelocalUfragrecord component.Returns the value of thenetworkIdrecord component.offer()Returns the value of theofferrecord component.static AssistedJoin.OfferparseOffer(String sdp) toString()Returns a string representation of this record class.
-
Field Details
-
MAX_BYTES
public static final int MAX_BYTES- See Also:
-
-
Constructor Details
-
AssistedJoin
public AssistedJoin(String id, String instanceId, long generation, String incarnation, String keyId, String hostFingerprint, long expiresAt, String networkId, String cpk, String localUfrag, String localPassword, String offer) Creates an instance of aAssistedJoinrecord class.- Parameters:
id- the value for theidrecord componentinstanceId- the value for theinstanceIdrecord componentgeneration- the value for thegenerationrecord componentincarnation- the value for theincarnationrecord componentkeyId- the value for thekeyIdrecord componenthostFingerprint- the value for thehostFingerprintrecord componentexpiresAt- the value for theexpiresAtrecord componentnetworkId- the value for thenetworkIdrecord componentcpk- the value for thecpkrecord componentlocalUfrag- the value for thelocalUfragrecord componentlocalPassword- the value for thelocalPasswordrecord componentoffer- the value for theofferrecord component
-
-
Method Details
-
diagnostic
public boolean diagnostic() -
decode
-
parseOffer
-
canonicalCpk
-
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 '=='. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
instanceId
Returns the value of theinstanceIdrecord component.- Returns:
- the value of the
instanceIdrecord component
-
generation
public long generation()Returns the value of thegenerationrecord component.- Returns:
- the value of the
generationrecord component
-
incarnation
Returns the value of theincarnationrecord component.- Returns:
- the value of the
incarnationrecord component
-
keyId
Returns the value of thekeyIdrecord component.- Returns:
- the value of the
keyIdrecord component
-
hostFingerprint
Returns the value of thehostFingerprintrecord component.- Returns:
- the value of the
hostFingerprintrecord component
-
expiresAt
public long expiresAt()Returns the value of theexpiresAtrecord component.- Returns:
- the value of the
expiresAtrecord component
-
networkId
Returns the value of thenetworkIdrecord component.- Returns:
- the value of the
networkIdrecord component
-
cpk
Returns the value of thecpkrecord component.- Returns:
- the value of the
cpkrecord component
-
localUfrag
Returns the value of thelocalUfragrecord component.- Returns:
- the value of the
localUfragrecord component
-
localPassword
Returns the value of thelocalPasswordrecord component.- Returns:
- the value of the
localPasswordrecord component
-
offer
Returns the value of theofferrecord component.- Returns:
- the value of the
offerrecord component
-