-
- All Implemented Interfaces:
public class DontFragmentAttribute extends Attribute
The DONT-FRAGMENT attribute is used to inform TURN server (if it supports this attribute) that it should set DF bit to 1 in IPv4 headers when relaying client data.
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringNAMEpublic final static charDATA_LENGTH
-
Method Summary
-
-
Method Detail
-
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.
-
getName
String getName()
Returns the human readable name of this attribute. Attribute names do not really matter from the protocol point of view. They are only used for debugging and readability.
-
getDataLength
char getDataLength()
Returns the length of this attribute's body.
-
-
-
-