| Modifier and Type | Field and Description |
|---|---|
protected LinkedHashMap<Character,StunAttribute> |
StunMessage.attributes
The list of attributes contained by the message.
|
| Modifier and Type | Method and Description |
|---|---|
StunAttribute |
StunMessage.getAttribute(char attributeType)
Returns the attribute with the specified type or null if no such
attribute exists.
|
StunAttribute |
StunMessage.removeAttribute(char attributeType)
Removes the specified attribute.
|
| Modifier and Type | Method and Description |
|---|---|
List<StunAttribute> |
StunMessage.getAttributes()
Returns a copy of all
StunAttributes in this StunMessage. |
| Modifier and Type | Method and Description |
|---|---|
void |
StunMessage.addAttribute(StunAttribute attribute)
Adds the specified attribute to this message.
|
| Modifier and Type | Method and Description |
|---|---|
static StunAttribute |
StunAttributeDecoder.decode(byte[] bytes,
char offset,
char length)
Decodes the specified binary array and returns the corresponding
attribute object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AddressAttribute
This class is used to represent Stun attributes that contain an address.
|
class |
AlternateServerAttribute
The ALTERNATE-SERVER attribute indicates the IP address and
port of an alternate server the client could use.
|
class |
ChangedAddressAttribute
The CHANGED-ADDRESS attribute indicates the IP address and port where
responses would have been sent from if the "change IP" and "change port"
flags had been set in the CHANGE-REQUEST attribute of the Binding Request.
|
class |
DestinationAddressAttribute
The DESTINATION-ADDRESS is present in Send Requests of old TURN versions.
|
class |
ReflectedFromAttribute
The REFLECTED-FROM attribute is present only in Binding Responses, when the
Binding Request contained a RESPONSE-ADDRESS attribute.
|
class |
RemoteAddressAttribute
The REMOTE-ADDRESS is present in Data Indication of old TURN versions.
|
class |
ResponseAddressAttribute
The RESPONSE-ADDRESS attribute indicates where the response to a Binding
Request should be sent.
|
class |
SourceAddressAttribute
The SOURCE-ADDRESS attribute is present in Binding Responses.
|
class |
XorMappedAddressAttribute
The XOR-MAPPED-ADDRESS attribute is only present in Binding
Responses.
|
class |
XorPeerAddressAttribute
The XOR-PEER-ADDRESS attribute is given by a TURN client to indicates the
peer destination address of its relayed packet.
|
class |
XorRelayedAddressAttribute
The XOR-RELAYED-ADDRESS attribute is given by a TURN server to indicates the
client its relayed address.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ControlAttribute |
class |
ControlledAttribute |
class |
ControllingAttribute |
| Modifier and Type | Class and Description |
|---|---|
class |
DataAttribute
The DATA attribute contains the data the client wants to relay to the TURN
server or the TURN server to forward the response data.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChangeRequestAttribute |
class |
ChannelNumberAttribute
The CHANNEL-NUMBER attribute is used to known on which channel the TURN
client want to send data.
|
class |
DontFragmentAttribute
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.
|
class |
ErrorCodeAttribute
The ERROR-CODE attribute is present in the Binding Error Response and
Shared Secret Error Response.
|
class |
EvenPortAttribute
The EVEN-PORT attribute is used to ask the TURN server to allocate an even
port and optionally allocate the next higher port number.
|
class |
FingerprintAttribute
The FINGERPRINT attribute is used to distinguish STUN packets from packets of
other protocols.
|
class |
LifetimeAttribute
The LIFETIME attribute is used to know the lifetime of TURN allocations.
|
class |
MagicCookieAttribute
The MAGIC-COOKIE attribute.
|
class |
MappedAddressAttribute
The MAPPED-ADDRESS attribute indicates the mapped IP address and
port.
|
class |
MessageIntegrityAttribute
The MESSAGE-INTEGRITY attribute contains an HMAC-SHA1 [RFC2104] of the STUN
message.
|
class |
NonceAttribute
The NONCE attribute is used for authentication.
|
class |
OptionalAttribute
This class is used for representing attributes not explicitly supported by
the STUN stack.
|
class |
PriorityAttribute
This class is used to represent the PRIORITY attribute used for ICE
processing.
|
class |
RealmAttribute
The REALM attribute contains a text which meets the grammar for "realm value"
as described in RFC3261 but without the double quotes.
|
class |
RequestedTransportAttribute
The REQUESTED-TRANSPORT attribute is used to allocate a TURN address of
certain transport protocol.
|
class |
ReservationTokenAttribute
The RESERVATION-TOKEN attribute contains a token that identifies a
reservation port on a TURN server.
|
class |
SoftwareAttribute
The SOFTWARE attribute contains a textual description of the software being
used by the software or the client, including manufacturer and version
number.
|
class |
UnknownAttributesAttribute |
class |
UseCandidateAttribute
This class implements the USE-CANDIDATE attribute.
This attribute is an extension to the original STUN protocol. |
class |
UsernameAttribute
The USERNAME attribute is used for message integrity.
The value of USERNAME is a variable length value. |
class |
XorOnlyAttribute
This attribute is present in a Binding Request.
|
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.