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.
  • Field Details

  • 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 a AssistedJoin record class.
      Parameters:
      id - the value for the id record component
      instanceId - the value for the instanceId record component
      generation - the value for the generation record component
      incarnation - the value for the incarnation record component
      keyId - the value for the keyId record component
      hostFingerprint - the value for the hostFingerprint record component
      expiresAt - the value for the expiresAt record component
      networkId - the value for the networkId record component
      cpk - the value for the cpk record component
      localUfrag - the value for the localUfrag record component
      localPassword - the value for the localPassword record component
      offer - the value for the offer record component
  • Method Details

    • diagnostic

      public boolean diagnostic()
    • decode

      public static AssistedJoin decode(String wire)
    • parseOffer

      public static AssistedJoin.Offer parseOffer(String sdp)
    • canonicalCpk

      public static byte[] canonicalCpk(String cpk)
    • 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.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • instanceId

      public String instanceId()
      Returns the value of the instanceId record component.
      Returns:
      the value of the instanceId record component
    • generation

      public long generation()
      Returns the value of the generation record component.
      Returns:
      the value of the generation record component
    • incarnation

      public String incarnation()
      Returns the value of the incarnation record component.
      Returns:
      the value of the incarnation record component
    • keyId

      public String keyId()
      Returns the value of the keyId record component.
      Returns:
      the value of the keyId record component
    • hostFingerprint

      public String hostFingerprint()
      Returns the value of the hostFingerprint record component.
      Returns:
      the value of the hostFingerprint record component
    • expiresAt

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

      public String networkId()
      Returns the value of the networkId record component.
      Returns:
      the value of the networkId record component
    • cpk

      public String cpk()
      Returns the value of the cpk record component.
      Returns:
      the value of the cpk record component
    • localUfrag

      public String localUfrag()
      Returns the value of the localUfrag record component.
      Returns:
      the value of the localUfrag record component
    • localPassword

      public String localPassword()
      Returns the value of the localPassword record component.
      Returns:
      the value of the localPassword record component
    • offer

      public String offer()
      Returns the value of the offer record component.
      Returns:
      the value of the offer record component