Package 

Class IceControlAttribute

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      long tieBreaker
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      long getTieBreaker() Returns the value of the tie-breaker.
      void setTieBreaker(long tieBreaker) Sets the tie-breaker value.
      Array<byte> encode() Returns a binary representation of this attribute.
      boolean equals(Object obj) Compares two STUN Attributes.
      char getDataLength() Returns the data length of this attribute
      String getName() Returns the human readable name of this attribute.
      • Methods inherited from class org.ice4j.attribute.Attribute

        getAttributeType, getLocationInMessage, setLocationInMessage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getTieBreaker

         long getTieBreaker()

        Returns the value of the tie-breaker.

      • setTieBreaker

         void setTieBreaker(long tieBreaker)

        Sets the tie-breaker value.

        Parameters:
        tieBreaker - the the tie-breaker value
      • encode

         Array<byte> encode()

        Returns a binary representation of this attribute.

      • equals

         boolean equals(Object obj)

        Compares two STUN Attributes. Attributes are considered equal when their type, length, and all data are the same.

        Parameters:
        obj - the object to compare this attribute with.
      • getDataLength

         char getDataLength()

        Returns the data length of this attribute

      • getName

         String getName()

        Returns the human readable name of this attribute.