-
- All Implemented Interfaces:
public abstract class IceControlAttribute extends Attribute
-
-
Field Summary
Fields Modifier and Type Field Description longtieBreaker
-
Method Summary
Modifier and Type Method Description longgetTieBreaker()Returns the value of the tie-breaker. voidsetTieBreaker(long tieBreaker)Sets the tie-breaker value. Array<byte>encode()Returns a binary representation of this attribute. booleanequals(Object obj)Compares two STUN Attributes. chargetDataLength()Returns the data length of this attribute StringgetName()Returns the human readable name of this attribute. -
-
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
-
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
-
-
-
-