Package | Description |
---|---|
org.ice4j.attribute | |
org.ice4j.message |
Modifier and Type | Class and Description |
---|---|
(package private) 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 |
ChangeRequestAttribute
This class represents the STUN CHANGE-REQUEST attribute.
|
class |
ChannelNumberAttribute
The CHANNEL-NUMBER attribute is used to known on which
channel the TURN client want to send data.
|
class |
ConnectionIdAttribute
The connection ID attribute defined in RFC 6062:
Traversal Using Relays around NAT (TURN) Extensions for TCP Allocations.
|
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.
|
class |
DestinationAddressAttribute
The DESTINATION-ADDRESS is present in Send Requests of old TURN versions.
|
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 |
IceControlAttribute |
class |
IceControlledAttribute
An
IceControlAttribute implementation representing the
ICE-CONTROLLED ICE Attribute s. |
class |
IceControllingAttribute
An
IceControlAttribute implementation representing the
ICE-CONTROLLING ICE Attribute s. |
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 stack.
|
class |
PriorityAttribute
This class is used to represent the PRIORITY attribute used for ICE processing
This attribute is not in the original specification of STUN
It is added as an extension to STUN to be used for ICE implementations
PRIORITY attribute contains a 32 bit priority value
It is used in stun binding requests sent from ICE-Agents to their
peers
|
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 |
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 |
RequestedAddressFamilyAttribute
The requested address family attribute defined in RFC 6156.
|
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 |
ResponseAddressAttribute
The RESPONSE-ADDRESS attribute indicates where the response to a
Binding Request should be sent.
|
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 |
SourceAddressAttribute
The SOURCE-ADDRESS attribute is present in Binding Responses.
|
class |
UnknownAttributesAttribute
The UNKNOWN-ATTRIBUTES attribute is present only in a Binding Error
Response or Shared Secret Error Response when the response code in
the ERROR-CODE attribute is 420.
|
class |
UseCandidateAttribute
This class implements the USE-CANDIDATE attribute
This attribute is an extension to the original STUN protocol
This is used only during an ICE implementation
This attribute serves as only a flag, it does not have any data
so the data length is zero
|
class |
UsernameAttribute
The USERNAME attribute is used for message integrity.
|
class |
XorMappedAddressAttribute
The XOR-MAPPED-ADDRESS attribute is only present in Binding
Responses.
|
class |
XorOnlyAttribute
This attribute is present in a Binding Request.
|
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 | Method and Description |
---|---|
static Attribute |
AttributeDecoder.decode(byte[] bytes,
char offset,
char length)
Decodes the specified binary array and returns the corresponding
attribute object.
|
Modifier and Type | Field and Description |
---|---|
protected LinkedHashMap<Character,Attribute> |
Message.attributes
The list of attributes contained by the message.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
Message.getAttribute(char attributeType)
Returns the attribute with the specified type or null if no such
attribute exists.
|
Attribute |
Message.removeAttribute(char attributeType)
Removes the specified attribute.
|
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
Message.getAttributes()
|
Modifier and Type | Method and Description |
---|---|
private static void |
Message.performAttributeSpecificActions(Attribute attribute,
byte[] binMessage,
int offset,
int msgLen)
Executes actions related specific attributes like asserting proper
fingerprint checksum.
|
void |
Message.putAttribute(Attribute attribute)
Puts the specified attribute into this message.
|
Copyright © 2018. All rights reserved.