-
- All Implemented Interfaces:
public class RealmAttribute extends Attribute
The REALM attribute contains a text which meets the grammar for "realm value" as described in RFC3261 but without the double quotes.
-
-
Method Summary
Modifier and Type Method Description Array<byte>getRealm()Returns a (cloned) byte array containing the data value of the realm attribute. voidsetRealm(Array<byte> realm)Copies the specified binary array into the the data value of the realm attribute. Array<byte>encode()Returns a binary representation of this attribute. chargetDataLength()Returns the length of this attribute's body. StringgetName()Returns the human readable name of this attribute. booleanequals(Object obj)Compares two STUN Attributes. -
-
Method Detail
-
getRealm
Array<byte> getRealm()
Returns a (cloned) byte array containing the data value of the realm attribute.
-
setRealm
void setRealm(Array<byte> realm)
Copies the specified binary array into the the data value of the realm attribute.
- Parameters:
realm- the binary array containing the realm.
-
getDataLength
char getDataLength()
Returns the length of this attribute's body.
-
-
-
-