A B C D E F G H I L M N O P R S T U V X 

A

addAttribute(StunAttribute) - Method in class org.restcomm.media.stun.messages.StunMessage
Adds the specified attribute to this message.
addAttributeId(char) - Method in class org.restcomm.media.stun.messages.attributes.general.UnknownAttributesAttribute
 
ADDRESS_FAMILY_IPV4 - Static variable in class org.restcomm.media.stun.messages.attributes.address.AddressAttribute
 
ADDRESS_FAMILY_IPV6 - Static variable in class org.restcomm.media.stun.messages.attributes.address.AddressAttribute
 
AddressAttribute - Class in org.restcomm.media.stun.messages.attributes.address
This class is used to represent Stun attributes that contain an address.
AddressAttribute(char) - Constructor for class org.restcomm.media.stun.messages.attributes.address.AddressAttribute
 
ALLOCATE_ERROR_RESPONSE - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
ALLOCATE_REQUEST - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
ALLOCATE_REQUEST_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
ALLOCATE_RESPONSE - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
ALLOCATE_RESPONSE_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
ALTERNATE_SERVER - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Alternate server attribute.
ALTERNATE_SERVER_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
AlternateServerAttribute - Class in org.restcomm.media.stun.messages.attributes.address
The ALTERNATE-SERVER attribute indicates the IP address and port of an alternate server the client could use.
AlternateServerAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.address.AlternateServerAttribute
 
applyXor(TransportAddress, byte[]) - Static method in class org.restcomm.media.stun.messages.attributes.address.XorMappedAddressAttribute
Returns the result of applying XOR on the specified attribute's address.
applyXor(byte[]) - Method in class org.restcomm.media.stun.messages.attributes.address.XorMappedAddressAttribute
Returns the result of applying XOR on this attribute's address, using the specified XOR mask.
attributePresentities - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
attributes - Variable in class org.restcomm.media.stun.messages.StunMessage
The list of attributes contained by the message.
attributeType - Variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
The type of the attribute.

B

BAD_REQUEST - Static variable in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
BINDING_ERROR_RESPONSE - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
BINDING_ERROR_RESPONSE_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
BINDING_INDICATION - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
BINDING_REQUEST - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
BINDING_REQUEST_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
BINDING_RESPONSE_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
BINDING_SUCCESS_RESPONSE - Static variable in class org.restcomm.media.stun.messages.StunMessage
 

C

C - Static variable in class org.restcomm.media.stun.messages.StunMessage
C means it's conditional based on some other aspect of the message.
calculateHmacSha1(byte[], int, int, byte[]) - Static method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
Encodes message using key and the HMAC-SHA1 algorithm as per RFC 2104 and returns the resulting byte array.
calculateXorCRC32(byte[], int, int) - Static method in class org.restcomm.media.stun.messages.attributes.general.FingerprintAttribute
Calculates and returns the CRC32 checksum for message after applying the XOR_MASK specified by RFC 5389.
CHANGE_REQUEST - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Change request attribute.
CHANGE_REQUEST_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
CHANGED_ADDRESS - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Changed address attribute.
CHANGED_ADDRESS_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
ChangedAddressAttribute - Class in org.restcomm.media.stun.messages.attributes.address
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.
ChangedAddressAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.address.ChangedAddressAttribute
 
ChangeRequestAttribute - Class in org.restcomm.media.stun.messages.attributes.general
 
ChangeRequestAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.ChangeRequestAttribute
 
CHANNEL_NUMBER - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Channel number attribute.
CHANNEL_NUMBER_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
CHANNELBIND_ERROR_RESPONSE - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
CHANNELBIND_REQUEST - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
CHANNELBIND_REQUEST_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
CHANNELBIND_RESPONSE - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
CHANNELBIND_RESPONSE_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
ChannelNumberAttribute - Class in org.restcomm.media.stun.messages.attributes.general
The CHANNEL-NUMBER attribute is used to known on which channel the TURN client want to send data.
ChannelNumberAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.ChannelNumberAttribute
 
contains(char) - Method in class org.restcomm.media.stun.messages.attributes.general.UnknownAttributesAttribute
Verifies whether the specified attributeID is contained by this attribute.
containsAttribute(char) - Method in class org.restcomm.media.stun.messages.StunMessage
Returns true if the this Message contains an attribute with the specified type or false otherwise.
ContextDependentAttribute - Interface in org.restcomm.media.stun.messages.attributes.general
Represents a type of attribute which contains a value that depends on the content of the message.
ControlAttribute - Class in org.restcomm.media.stun.messages.attributes.control
 
ControlAttribute(boolean) - Constructor for class org.restcomm.media.stun.messages.attributes.control.ControlAttribute
 
ControlledAttribute - Class in org.restcomm.media.stun.messages.attributes.control
 
ControlledAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.control.ControlledAttribute
 
controlling - Variable in class org.restcomm.media.stun.messages.attributes.control.ControlAttribute
 
ControllingAttribute - Class in org.restcomm.media.stun.messages.attributes.control
 
ControllingAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.control.ControllingAttribute
 
createBindingResponse(StunRequest, TransportAddress) - Static method in class org.restcomm.media.stun.messages.StunMessageFactory
Creates a BindingResponse in a RFC5389 compliant manner containing a single XOR-MAPPED-ADDRESS attribute
createChangedAddressAttribute(TransportAddress) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates a changedAddressAttribute of the specified type and with the specified address and port
createChangeRequestAttribute() - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates a ChangeRequestAttribute with "false" values for the changeIP and changePort flags.
createChangeRequestAttribute(boolean, boolean) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates a ChangeRequestAttribute with the specified flag values.
createChannelNumberAttribute(char) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Create a ChannelNumberAttribute.
createDataAttribute(byte[]) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Create a DataAtttribute.
createDataAttributeWithoutPadding(byte[]) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Create a DataAtttribute.
createDestinationAddressAttribute(TransportAddress) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates a DestinationFromAddressAttribute of the specified type and with the specified address and port
createErrorCodeAttribute(byte, byte) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates an ErrorCodeAttribute with the specified error class and number and a default reason phrase.
createErrorCodeAttribute(byte, byte, String) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates an ErrorCodeAttribute with the specified error class, number and reason phrase.
createErrorCodeAttribute(char) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates an ErrorCodeAttribute with the specified error code and a default reason phrase.
createErrorCodeAttribute(char, String) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates an ErrorCodeAttribute with the specified error code and reason phrase.
createEvenPortAttribute(boolean) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Create a EventAttribute.
createFingerprintAttribute() - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates an empty FingerprintAttribute with a 0 check sum.
createIceControlledAttribute(long) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates an Controlled Attribute object with the specified tie-breaker value
createIceControllingAttribute(long) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates an Controlling Attribute with the specified tie-breaker value
createLifetimeAttribute(int) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Create a LifetimeAttribute.
createMagicCookieAttribute() - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates a MagicCookieAttribute.
createMappedAddressAttribute(TransportAddress) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates a MappedAddressAttribute of the specified type and with the specified address and port
createMessageIntegrityAttribute(String, byte[]) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates an empty MessageIntegrityAttribute.
createNonceAttribute(byte[]) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Create a NonceAttribute.
CREATEPERMISSION_ERROR_RESPONSE - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
CREATEPERMISSION_REQUEST - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
CREATEPERMISSION_RESPONSE - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
createPriorityAttribute(long) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates a Priority attribute with the specified priority value
createRealmAttribute(byte[]) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Create a RealmAttribute.
createReflectedFromAttribute(TransportAddress) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates a ReflectedFromAddressAttribute of the specified type and with the specified address and port
createRequestedTransportAttribute(byte) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Create a RequestedTransportAttribute.
createReservationTokenAttribute(byte[]) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Create a ReservationTokenAttribute.
createResponseAddressAttribute(TransportAddress) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates a ResponseFromAddressAttribute of the specified type and with the specified address and port
createSoftwareAttribute(byte[]) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Create a SoftwareAttribute.
createSourceAddressAttribute(TransportAddress) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates a SourceFromAddressAttribute of the specified type and with the specified address and port
createUnknownAttributesAttribute() - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates an empty UnknownAttributesAttribute.
createUseCandidateAttribute() - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates a UseCandidateAttribute
createUsernameAttribute(byte[]) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Create a UsernameAttribute.
createUsernameAttribute(String) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates a new UsernameAttribute instance.
createXorMappedAddressAttribute(TransportAddress, byte[]) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates a XorMappedAddressAttribute for the specified address.
createXorPeerAddressAttribute(TransportAddress, byte[]) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates a XorPeerAddressAttribute of the specified type and with the specified address and port
createXorRelayedAddressAttribute(TransportAddress, byte[]) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
Creates a XorRelayedAddressAttribute of the specified type and with the specified address and port.

D

DATA - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Data attribute.
DATA_INDICATION - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
DATA_INDICATION_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
DATA_LENGTH - Static variable in class org.restcomm.media.stun.messages.attributes.control.ControlAttribute
 
DATA_LENGTH - Static variable in class org.restcomm.media.stun.messages.attributes.general.ChangeRequestAttribute
 
DATA_LENGTH - Static variable in class org.restcomm.media.stun.messages.attributes.general.ChannelNumberAttribute
 
DATA_LENGTH - Static variable in class org.restcomm.media.stun.messages.attributes.general.DontFragmentAttribute
 
DATA_LENGTH - Static variable in class org.restcomm.media.stun.messages.attributes.general.EvenPortAttribute
 
DATA_LENGTH - Static variable in class org.restcomm.media.stun.messages.attributes.general.LifetimeAttribute
 
DATA_LENGTH - Static variable in class org.restcomm.media.stun.messages.attributes.general.MagicCookieAttribute
 
DATA_LENGTH - Static variable in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
DATA_LENGTH - Static variable in class org.restcomm.media.stun.messages.attributes.general.RequestedTransportAttribute
 
DATA_LENGTH - Static variable in class org.restcomm.media.stun.messages.attributes.general.ReservationTokenAttribute
 
DATA_LENGTH - Static variable in class org.restcomm.media.stun.messages.attributes.general.XorOnlyAttribute
 
DATA_LENGTH - Static variable in class org.restcomm.media.stun.messages.StunTransactionId
 
DATA_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
DataAttribute - Class in org.restcomm.media.stun.messages.attributes.data
The DATA attribute contains the data the client wants to relay to the TURN server or the TURN server to forward the response data.
DataAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.data.DataAttribute
 
DataAttribute(boolean) - Constructor for class org.restcomm.media.stun.messages.attributes.data.DataAttribute
 
decode(byte[], char, char) - Static method in class org.restcomm.media.stun.messages.attributes.StunAttributeDecoder
Decodes the specified binary array and returns the corresponding attribute object.
decode(byte[], char, char) - Static method in class org.restcomm.media.stun.messages.StunMessage
Constructs a message from its binary representation.
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.address.AddressAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.control.ControlAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.data.DataAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.ChangeRequestAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.ChannelNumberAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.DontFragmentAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.EvenPortAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.FingerprintAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.LifetimeAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.MagicCookieAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.NonceAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.OptionalAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.PriorityAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.RealmAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.RequestedTransportAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.ReservationTokenAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.SoftwareAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.UnknownAttributesAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.UseCandidateAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.UsernameAttribute
 
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.general.XorOnlyAttribute
Sets this attribute's fields according to attributeValue array.
decodeAttributeBody(byte[], char, char) - Method in class org.restcomm.media.stun.messages.attributes.StunAttribute
Sets this attribute's fields according to attributeValue array.
DESTINATION_ADDRESS - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Destination address attribute.
DESTINATION_ADDRESS_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
DestinationAddressAttribute - Class in org.restcomm.media.stun.messages.attributes.address
The DESTINATION-ADDRESS is present in Send Requests of old TURN versions.
DestinationAddressAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.address.DestinationAddressAttribute
 
DONT_FRAGMENT - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Don't fragment attribute.
DONT_FRAGMENT_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
DontFragmentAttribute - Class in org.restcomm.media.stun.messages.attributes.general
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.
DontFragmentAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.DontFragmentAttribute
 

E

encode() - Method in class org.restcomm.media.stun.messages.attributes.address.AddressAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.control.ControlAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.data.DataAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.ChangeRequestAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.ChannelNumberAttribute
 
encode(byte[], int, int) - Method in interface org.restcomm.media.stun.messages.attributes.general.ContextDependentAttribute
Returns a binary representation of this attribute.
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.DontFragmentAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.EvenPortAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.FingerprintAttribute
 
encode(byte[], int, int) - Method in class org.restcomm.media.stun.messages.attributes.general.FingerprintAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.LifetimeAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.MagicCookieAttribute
 
encode(byte[], int, int) - Method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.NonceAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.OptionalAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.PriorityAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.RealmAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.RequestedTransportAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.ReservationTokenAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.SoftwareAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.UnknownAttributesAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.UseCandidateAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.UsernameAttribute
 
encode() - Method in class org.restcomm.media.stun.messages.attributes.general.XorOnlyAttribute
Returns a binary representation of this attribute.
encode() - Method in class org.restcomm.media.stun.messages.attributes.StunAttribute
Returns a binary representation of this attribute.
encode() - Method in class org.restcomm.media.stun.messages.StunMessage
Returns a binary representation of this message.
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.address.AddressAttribute
Compares two STUN Attributes.
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.control.ControlAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.data.DataAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.ChangeRequestAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.ChannelNumberAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.DontFragmentAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.EvenPortAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.FingerprintAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.LifetimeAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.MagicCookieAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.NonceAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.OptionalAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.PriorityAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.RealmAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.RequestedTransportAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.ReservationTokenAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.SoftwareAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.UnknownAttributesAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.UseCandidateAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.UsernameAttribute
 
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.general.XorOnlyAttribute
Compares two STUN Attributes.
equals(Object) - Method in class org.restcomm.media.stun.messages.attributes.StunAttribute
Compares two STUN Attributes.
equals(Object) - Method in class org.restcomm.media.stun.messages.StunMessage
Compares two STUN Messages.
equals(Object) - Method in class org.restcomm.media.stun.messages.StunTransactionId
 
equals(byte[]) - Method in class org.restcomm.media.stun.messages.StunTransactionId
Compares two Transaction ID by value.
ERROR_CODE - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Error code attribute.
ERROR_CODE_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
ErrorCodeAttribute - Class in org.restcomm.media.stun.messages.attributes.general
The ERROR-CODE attribute is present in the Binding Error Response and Shared Secret Error Response.
ErrorCodeAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
EVEN_PORT - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Even port attribute.
EVEN_PORT_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
EvenPortAttribute - Class in org.restcomm.media.stun.messages.attributes.general
The EVEN-PORT attribute is used to ask the TURN server to allocate an even port and optionally allocate the next higher port number.
EvenPortAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.EvenPortAttribute
 

F

FINGERPRINT - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Fingerprint attribute.
FINGERPRINT_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
FingerprintAttribute - Class in org.restcomm.media.stun.messages.attributes.general
The FINGERPRINT attribute is used to distinguish STUN packets from packets of other protocols.
FingerprintAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.FingerprintAttribute
 

G

getAddress() - Method in class org.restcomm.media.stun.messages.attributes.address.AddressAttribute
 
getAddress(byte[]) - Method in class org.restcomm.media.stun.messages.attributes.address.XorMappedAddressAttribute
Returns the result of applying XOR on this attribute's address, using the specified transaction ID when converting IPv6 addresses.
getAddressBytes() - Method in class org.restcomm.media.stun.messages.attributes.address.AddressAttribute
Returns the bytes of the address.
getAttribute(int) - Method in class org.restcomm.media.stun.messages.attributes.general.UnknownAttributesAttribute
Returns the attribute id with index i.
getAttribute(char) - Method in class org.restcomm.media.stun.messages.StunMessage
Returns the attribute with the specified type or null if no such attribute exists.
getAttributeCount() - Method in class org.restcomm.media.stun.messages.attributes.general.UnknownAttributesAttribute
Returns the number of attribute IDs contained by this class.
getAttributeCount() - Method in class org.restcomm.media.stun.messages.StunMessage
Returns the number of attributes, currently contained by the message.
getAttributePresentity(char) - Method in class org.restcomm.media.stun.messages.StunMessage
Returns whether an attribute could be present in this message.
getAttributes() - Method in class org.restcomm.media.stun.messages.attributes.general.UnknownAttributesAttribute
Returns an iterator over the list of attribute IDs contained by this attribute.
getAttributes() - Method in class org.restcomm.media.stun.messages.StunMessage
Returns a copy of all StunAttributes in this StunMessage.
getAttributeType() - Method in class org.restcomm.media.stun.messages.attributes.StunAttribute
Returns the attribute's type.
getBody() - Method in class org.restcomm.media.stun.messages.attributes.general.OptionalAttribute
 
getChannelNumber() - Method in class org.restcomm.media.stun.messages.attributes.general.ChannelNumberAttribute
 
getChecksum() - Method in class org.restcomm.media.stun.messages.attributes.general.FingerprintAttribute
Returns the CRC32 checksum that this attribute is carrying.
getData() - Method in class org.restcomm.media.stun.messages.attributes.data.DataAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.address.AddressAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.control.ControlAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.data.DataAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.ChangeRequestAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.ChannelNumberAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.DontFragmentAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.EvenPortAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.FingerprintAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.LifetimeAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.MagicCookieAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.NonceAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.OptionalAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.PriorityAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.RealmAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.RequestedTransportAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.ReservationTokenAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.SoftwareAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.UnknownAttributesAttribute
Returns the length (in bytes) of this attribute's body.
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.UseCandidateAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.UsernameAttribute
 
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.general.XorOnlyAttribute
Returns the length of this attribute's body.
getDataLength() - Method in class org.restcomm.media.stun.messages.attributes.StunAttribute
Returns the length of this attribute's body.
getDataLength() - Method in class org.restcomm.media.stun.messages.StunMessage
Returns the length of this message's body.
getDataLengthWithoutPadding() - Method in class org.restcomm.media.stun.messages.StunMessage
Returns the length of this message's body without padding.
getDefaultReasonPhrase(char) - Static method in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
Returns a default reason phrase corresponding to the specified error code, as described by rfc 3489.
getErrorClass() - Method in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
getErrorCode() - Method in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
A convenience method that constructs an error code from this attribute's class and number.
getErrorNumber() - Method in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
getFamily() - Method in class org.restcomm.media.stun.messages.attributes.address.AddressAttribute
Returns the family that the this.address belongs to.
getHmacSha1Content() - Method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
getID() - Method in exception org.restcomm.media.stun.StunException
Returns this exception's identifier.
getKey() - Method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
getLifetime() - Method in class org.restcomm.media.stun.messages.attributes.general.LifetimeAttribute
 
getLocationInMessage() - Method in class org.restcomm.media.stun.messages.attributes.StunAttribute
For attributes that have arriving in incoming messages, this method returns their original location in the binary array so that we could later more easily verify attributes like MESSAGE-INTEGRITY.
getMedia() - Method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
getMessageType() - Method in class org.restcomm.media.stun.messages.StunMessage
The message type of this message.
getName() - Method in class org.restcomm.media.stun.messages.attributes.address.AlternateServerAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.address.ChangedAddressAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.address.DestinationAddressAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.address.ReflectedFromAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.address.RemoteAddressAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.address.ResponseAddressAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.address.SourceAddressAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.address.XorMappedAddressAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.address.XorPeerAddressAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.address.XorRelayedAddressAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.control.ControlAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.data.DataAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.ChangeRequestAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.ChannelNumberAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.DontFragmentAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.EvenPortAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.FingerprintAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.LifetimeAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.MagicCookieAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.MappedAddressAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.NonceAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.OptionalAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.PriorityAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.RealmAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.RequestedTransportAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.ReservationTokenAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.SoftwareAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.UnknownAttributesAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.UseCandidateAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.UsernameAttribute
 
getName() - Method in class org.restcomm.media.stun.messages.attributes.general.XorOnlyAttribute
Returns the human readable name of this attribute.
getName() - Method in class org.restcomm.media.stun.messages.attributes.StunAttribute
Returns the human readable name of this attribute.
getName() - Method in class org.restcomm.media.stun.messages.StunMessage
Returns the human readable name of this message.
getNonce() - Method in class org.restcomm.media.stun.messages.attributes.general.NonceAttribute
 
getPort() - Method in class org.restcomm.media.stun.messages.attributes.address.AddressAttribute
 
getPriority() - Method in class org.restcomm.media.stun.messages.attributes.general.PriorityAttribute
 
getRealm() - Method in class org.restcomm.media.stun.messages.attributes.general.RealmAttribute
 
getReasonPhrase() - Method in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
Returns the reason phrase.
getRequestedTransport() - Method in class org.restcomm.media.stun.messages.attributes.general.RequestedTransportAttribute
 
getReservationToken() - Method in class org.restcomm.media.stun.messages.attributes.general.ReservationTokenAttribute
 
getSoftware() - Method in class org.restcomm.media.stun.messages.attributes.general.SoftwareAttribute
 
getTieBreaker() - Method in class org.restcomm.media.stun.messages.attributes.control.ControlAttribute
 
getTransactionId() - Method in class org.restcomm.media.stun.messages.StunMessage
Returns a reference to this message's transaction id.
getUsername() - Method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
getUsername() - Method in class org.restcomm.media.stun.messages.attributes.general.UsernameAttribute
 
getValue() - Method in class org.restcomm.media.stun.messages.StunTransactionId
 
GLOBAL_FAILURE - Static variable in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 

H

hashCode() - Method in class org.restcomm.media.stun.messages.StunTransactionId
 
HEADER_LENGTH - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
The size of an atribute header in bytes = len(TYPE) + len(LENGTH) = 4
HEADER_LENGTH - Static variable in class org.restcomm.media.stun.messages.StunMessage
The length of Stun Message Headers in bytes = len(Type) + len(DataLength) + len(Transaction ID).
HMAC_SHA1_ALGORITHM - Static variable in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 

I

ICE_CONTROLLED - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
ICE controlled attribute.
ICE_CONTROLLED_NAME - Static variable in class org.restcomm.media.stun.messages.attributes.control.ControlAttribute
 
ICE_CONTROLLED_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
ICE_CONTROLLING - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
ICE controlling attribute.
ICE_CONTROLLING_NAME - Static variable in class org.restcomm.media.stun.messages.attributes.control.ControlAttribute
 
ICE_CONTROLLING_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
ILLEGAL_ARGUMENT - Static variable in exception org.restcomm.media.stun.StunException
Indicates that one or more of the passed arguments had invalid values.
ILLEGAL_STATE - Static variable in exception org.restcomm.media.stun.StunException
Indicates that the attempted operation is not possible in the current state of the object.
INTEGRITY_CHECK_FAILURE - Static variable in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
INTERNAL_ERROR - Static variable in exception org.restcomm.media.stun.StunException
Indicates that an unexpected error has occurred..
isAddressChanging() - Method in class org.restcomm.media.stun.messages.attributes.general.ChangeRequestAttribute
 
isControlling() - Method in class org.restcomm.media.stun.messages.attributes.control.ControlAttribute
 
isErrorResponse() - Method in class org.restcomm.media.stun.messages.StunResponse
Determines whether this instance represents a STUN error response.
isErrorResponseType(char) - Static method in class org.restcomm.media.stun.messages.StunMessage
Determines if the message type is a Error Response.
isIndicationType(char) - Static method in class org.restcomm.media.stun.messages.StunMessage
Determines if the message type is Indication.
isPortChanging() - Method in class org.restcomm.media.stun.messages.attributes.general.ChangeRequestAttribute
 
isRequestType(char) - Static method in class org.restcomm.media.stun.messages.StunMessage
Determines whether type could be the type of a STUN Request (as opposed to STUN Response).
isResponseType(char) - Static method in class org.restcomm.media.stun.messages.StunMessage
Determines whether type could be the type of a STUN Response (as opposed to STUN Request).
isRFlag() - Method in class org.restcomm.media.stun.messages.attributes.general.EvenPortAttribute
Is the R flag set
isSuccessResponse() - Method in class org.restcomm.media.stun.messages.StunResponse
Determines whether this instance represents a STUN success response.
isSuccessResponseType(char) - Static method in class org.restcomm.media.stun.messages.StunMessage
Determines if the message type is a Success Response.

L

LIFETIME - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Lifetime attribute.
LIFETIME_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
LifetimeAttribute - Class in org.restcomm.media.stun.messages.attributes.general
The LIFETIME attribute is used to know the lifetime of TURN allocations.
LifetimeAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.LifetimeAttribute
 

M

M - Static variable in class org.restcomm.media.stun.messages.StunMessage
M indicates that inclusion of the attribute in the message is mandatory.
MAGIC_COOKIE - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Magic cookie attribute.
MAGIC_COOKIE - Static variable in class org.restcomm.media.stun.messages.StunMessage
The magic cookie (0x2112A442).
MagicCookieAttribute - Class in org.restcomm.media.stun.messages.attributes.general
The MAGIC-COOKIE attribute.
MagicCookieAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.MagicCookieAttribute
 
MAPPED_ADDRESS - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Mapped address attribute.
MAPPED_ADDRESS_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
MappedAddressAttribute - Class in org.restcomm.media.stun.messages.attributes.general
The MAPPED-ADDRESS attribute indicates the mapped IP address and port.
MappedAddressAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.MappedAddressAttribute
 
MESSAGE_INTEGRITY - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Message integrity attribute.
MESSAGE_INTEGRITY_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
MessageIntegrityAttribute - Class in org.restcomm.media.stun.messages.attributes.general
The MESSAGE-INTEGRITY attribute contains an HMAC-SHA1 [RFC2104] of the STUN message.
MessageIntegrityAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
messageType - Variable in class org.restcomm.media.stun.messages.StunMessage
Indicates the type of the message.
MISSING_USERNAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 

N

N_A - Static variable in class org.restcomm.media.stun.messages.StunMessage
Describes which attributes are present in which messages.
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.address.AlternateServerAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.address.ChangedAddressAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.address.DestinationAddressAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.address.ReflectedFromAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.address.RemoteAddressAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.address.ResponseAddressAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.address.SourceAddressAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.address.XorMappedAddressAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.address.XorPeerAddressAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.address.XorRelayedAddressAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.data.DataAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.ChangeRequestAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.ChannelNumberAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.DontFragmentAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.EvenPortAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.FingerprintAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.LifetimeAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.MagicCookieAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.MappedAddressAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.NonceAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.RealmAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.RequestedTransportAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.ReservationTokenAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.UnknownAttributesAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.UsernameAttribute
 
NAME - Static variable in class org.restcomm.media.stun.messages.attributes.general.XorOnlyAttribute
 
NETWORK_ERROR - Static variable in exception org.restcomm.media.stun.StunException
Indicates that an unexpected error has occurred..
NONCE - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Nonce attribute.
NONCE_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
NonceAttribute - Class in org.restcomm.media.stun.messages.attributes.general
The NONCE attribute is used for authentication.
NonceAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.NonceAttribute
 

O

O - Static variable in class org.restcomm.media.stun.messages.StunMessage
O means the parameter is optional.
OLD_DATA_INDICATION - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
OptionalAttribute - Class in org.restcomm.media.stun.messages.attributes.general
This class is used for representing attributes not explicitly supported by the STUN stack.
OptionalAttribute(char) - Constructor for class org.restcomm.media.stun.messages.attributes.general.OptionalAttribute
 
org.restcomm.media.stun - package org.restcomm.media.stun
 
org.restcomm.media.stun.messages - package org.restcomm.media.stun.messages
 
org.restcomm.media.stun.messages.attributes - package org.restcomm.media.stun.messages.attributes
 
org.restcomm.media.stun.messages.attributes.address - package org.restcomm.media.stun.messages.attributes.address
 
org.restcomm.media.stun.messages.attributes.control - package org.restcomm.media.stun.messages.attributes.control
 
org.restcomm.media.stun.messages.attributes.data - package org.restcomm.media.stun.messages.attributes.data
 
org.restcomm.media.stun.messages.attributes.general - package org.restcomm.media.stun.messages.attributes.general
 

P

PASSWORD - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Password attribute.
PASSWORD_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
PRIORITY - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Priority attribute.
PRIORITY_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
PriorityAttribute - Class in org.restcomm.media.stun.messages.attributes.general
This class is used to represent the PRIORITY attribute used for ICE processing.
PriorityAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.PriorityAttribute
 

R

readableFormat(byte[]) - Static method in class org.restcomm.media.stun.messages.StunTransactionId
 
REALM - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Realm attribute.
REALM_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
RealmAttribute - Class in org.restcomm.media.stun.messages.attributes.general
The REALM attribute contains a text which meets the grammar for "realm value" as described in RFC3261 but without the double quotes.
RealmAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.RealmAttribute
 
REFLECTED_FROM - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Reflected from attribute.
REFLECTED_FROM_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
ReflectedFromAttribute - Class in org.restcomm.media.stun.messages.attributes.address
The REFLECTED-FROM attribute is present only in Binding Responses, when the Binding Request contained a RESPONSE-ADDRESS attribute.
ReflectedFromAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.address.ReflectedFromAttribute
 
REFRESH_ERROR_RESPONSE - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
REFRESH_REQUEST - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
REFRESH_REQUEST_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
REFRESH_RESPONSE - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
REFRESH_RESPONSE_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
REMOTE_ADDRESS - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Destination address attribute.
RemoteAddressAttribute - Class in org.restcomm.media.stun.messages.attributes.address
The REMOTE-ADDRESS is present in Data Indication of old TURN versions.
RemoteAddressAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.address.RemoteAddressAttribute
 
removeAttribute(char) - Method in class org.restcomm.media.stun.messages.StunMessage
Removes the specified attribute.
REQUESTED_TRANSPORT - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Requested transport attribute.
REQUESTED_TRANSPORT_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
RequestedTransportAttribute - Class in org.restcomm.media.stun.messages.attributes.general
The REQUESTED-TRANSPORT attribute is used to allocate a TURN address of certain transport protocol.
RequestedTransportAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.RequestedTransportAttribute
 
RESERVATION_TOKEN - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Reservation token attribute.
RESERVATION_TOKEN_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
ReservationTokenAttribute - Class in org.restcomm.media.stun.messages.attributes.general
The RESERVATION-TOKEN attribute contains a token that identifies a reservation port on a TURN server.
ReservationTokenAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.ReservationTokenAttribute
 
RESPONSE_ADDRESS - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Response address attribute.
RESPONSE_ADDRESS_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
ResponseAddressAttribute - Class in org.restcomm.media.stun.messages.attributes.address
The RESPONSE-ADDRESS attribute indicates where the response to a Binding Request should be sent.
ResponseAddressAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.address.ResponseAddressAttribute
 
RFC3489_TRANSACTION_ID_LENGTH - Static variable in class org.restcomm.media.stun.messages.StunMessage
The length of the RFC3489 transaction id (in bytes).
ROLE_CONFLICT - Static variable in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 

S

SEND_INDICATION - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
SEND_INDICATION_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
SEND_REQUEST - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
SERVER_ERROR - Static variable in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
setAddress(TransportAddress) - Method in class org.restcomm.media.stun.messages.attributes.address.AddressAttribute
 
setAddress(TransportAddress, byte[]) - Method in class org.restcomm.media.stun.messages.attributes.address.XorMappedAddressAttribute
Applies a XOR mask to the specified address and then sets it as the value transported by this attribute.
setAddressChanging(boolean) - Method in class org.restcomm.media.stun.messages.attributes.general.ChangeRequestAttribute
 
setAttributeType(char) - Method in class org.restcomm.media.stun.messages.attributes.address.AddressAttribute
 
setAttributeType(char) - Method in class org.restcomm.media.stun.messages.attributes.StunAttribute
Sets the attribute's type.
setBody(byte[], int, int) - Method in class org.restcomm.media.stun.messages.attributes.general.OptionalAttribute
 
setChannelNumber(char) - Method in class org.restcomm.media.stun.messages.attributes.general.ChannelNumberAttribute
 
setData(byte[]) - Method in class org.restcomm.media.stun.messages.attributes.data.DataAttribute
 
setErrorClass(byte) - Method in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
Sets the class of the error.
setErrorCode(char) - Method in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
A convenience method that sets error class and number according to the specified error code.
setErrorNumber(byte) - Method in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
setHmacSha1Content(byte[]) - Method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
setID(int) - Method in exception org.restcomm.media.stun.StunException
Sets the identifier of the error that caused the exception.
setKey(byte[]) - Method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
setLifetime(int) - Method in class org.restcomm.media.stun.messages.attributes.general.LifetimeAttribute
 
setLocationInMessage(int) - Method in class org.restcomm.media.stun.messages.attributes.StunAttribute
For attributes that have arriving in incoming messages, this method stores their original location in the binary array so that we could later more easily verify attributes like MESSAGE-INTEGRITY.
setMedia(String) - Method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
Sets the media name that we should use to get the corresponding remote key (short-term authentication only).
setMessageType(char) - Method in class org.restcomm.media.stun.messages.StunIndication
Checks whether indicationType is a valid indication type and if yes sets it as the type of this instance.
setMessageType(char) - Method in class org.restcomm.media.stun.messages.StunMessage
Sets this message's type to be messageType.
setMessageType(char) - Method in class org.restcomm.media.stun.messages.StunRequest
 
setMessageType(char) - Method in class org.restcomm.media.stun.messages.StunResponse
 
setNonce(byte[]) - Method in class org.restcomm.media.stun.messages.attributes.general.NonceAttribute
 
setPortChanging(boolean) - Method in class org.restcomm.media.stun.messages.attributes.general.ChangeRequestAttribute
 
setPriority(long) - Method in class org.restcomm.media.stun.messages.attributes.general.PriorityAttribute
 
setRealm(byte[]) - Method in class org.restcomm.media.stun.messages.attributes.general.RealmAttribute
 
setReasonPhrase(String) - Method in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
Set's a reason phrase.
setRequestedTransport(byte) - Method in class org.restcomm.media.stun.messages.attributes.general.RequestedTransportAttribute
 
setReservationToken(byte[]) - Method in class org.restcomm.media.stun.messages.attributes.general.ReservationTokenAttribute
 
setRFlag(boolean) - Method in class org.restcomm.media.stun.messages.attributes.general.EvenPortAttribute
Set the R flag.
setSoftware(byte[]) - Method in class org.restcomm.media.stun.messages.attributes.general.SoftwareAttribute
 
setTieBreaker(long) - Method in class org.restcomm.media.stun.messages.attributes.control.ControlAttribute
 
setTransactionID(byte[]) - Method in class org.restcomm.media.stun.messages.StunMessage
Copies the specified tranID and sets it as this message's transactionID.
setUsername(String) - Method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
Sets the username that we should use to obtain an encryption key (password) that the MessageIntegrityAttribute.encode() method should use when creating the content of this message.
setUsername(byte[]) - Method in class org.restcomm.media.stun.messages.attributes.general.UsernameAttribute
 
SHARED_SECRET_ERROR_RESPONSE - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
SHARED_SECRET_ERROR_RESPONSE_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
SHARED_SECRET_REQUEST - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
SHARED_SECRET_REQUEST_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
SHARED_SECRET_RESPONSE - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
SHARED_SECRET_RESPONSE_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
SOFTWARE - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Software attribute.
SOFTWARE_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
SoftwareAttribute - Class in org.restcomm.media.stun.messages.attributes.general
The SOFTWARE attribute contains a textual description of the software being used by the software or the client, including manufacturer and version number.
SoftwareAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.SoftwareAttribute
 
SOURCE_ADDRESS - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Source address attribute.
SOURCE_ADDRESS_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
SourceAddressAttribute - Class in org.restcomm.media.stun.messages.attributes.address
The SOURCE-ADDRESS attribute is present in Binding Responses.
SourceAddressAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.address.SourceAddressAttribute
 
STALE_CREDENTIALS - Static variable in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
STUN_ERROR_RESP - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
STUN_INDICATION - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
STUN_METHOD_BINDING - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
STUN_REQUEST - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
STUN_SUCCESS_RESP - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
StunAttribute - Class in org.restcomm.media.stun.messages.attributes
After the header are 0 or more attributes.
StunAttribute(char) - Constructor for class org.restcomm.media.stun.messages.attributes.StunAttribute
Creates an empty STUN message attribute.
StunAttributeDecoder - Class in org.restcomm.media.stun.messages.attributes
Provides utilities for decoding a binary stream into an Stun Attribute
StunAttributeDecoder() - Constructor for class org.restcomm.media.stun.messages.attributes.StunAttributeDecoder
 
StunAttributeFactory - Class in org.restcomm.media.stun.messages.attributes
Factory that provides STUN/TURN/ICE attributes.
StunAttributeFactory() - Constructor for class org.restcomm.media.stun.messages.attributes.StunAttributeFactory
 
StunException - Exception in org.restcomm.media.stun
 
StunException() - Constructor for exception org.restcomm.media.stun.StunException
Creates a StunException.
StunException(int) - Constructor for exception org.restcomm.media.stun.StunException
Creates a StunException setting id as its identifier.
StunException(String) - Constructor for exception org.restcomm.media.stun.StunException
Creates a StunException, setting an error message.
StunException(int, String) - Constructor for exception org.restcomm.media.stun.StunException
Creates a StunException, setting an error message and an error id.
StunException(int, String, Throwable) - Constructor for exception org.restcomm.media.stun.StunException
Creates a StunException, setting an error message an error id and a cause.
StunException(String, Throwable) - Constructor for exception org.restcomm.media.stun.StunException
Creates a StunException, setting an error message and a cause object.
StunException(Throwable) - Constructor for exception org.restcomm.media.stun.StunException
Creates an exception, setting the Throwable object, that caused it.
StunIndication - Class in org.restcomm.media.stun.messages
An indication descendant of the message class.
StunIndication() - Constructor for class org.restcomm.media.stun.messages.StunIndication
 
StunMessage - Class in org.restcomm.media.stun.messages
 
StunMessage() - Constructor for class org.restcomm.media.stun.messages.StunMessage
Creates an empty STUN Message.
StunMessageFactory - Class in org.restcomm.media.stun.messages
Factory that provides STUN Messages.
StunMessageFactory() - Constructor for class org.restcomm.media.stun.messages.StunMessageFactory
 
StunRequest - Class in org.restcomm.media.stun.messages
Represents a STUN Request message.
StunRequest() - Constructor for class org.restcomm.media.stun.messages.StunRequest
 
StunResponse - Class in org.restcomm.media.stun.messages
Represents a STUN Response message.
StunResponse() - Constructor for class org.restcomm.media.stun.messages.StunResponse
 
StunTransactionId - Class in org.restcomm.media.stun.messages
Represents a STUN transaction ID.
StunTransactionId() - Constructor for class org.restcomm.media.stun.messages.StunTransactionId
 

T

tieBreaker - Variable in class org.restcomm.media.stun.messages.attributes.control.ControlAttribute
 
toString() - Method in class org.restcomm.media.stun.messages.attributes.general.MessageIntegrityAttribute
 
toString() - Method in class org.restcomm.media.stun.messages.StunMessage
Returns a String representation of this message.
toString() - Method in class org.restcomm.media.stun.messages.StunTransactionId
 
TRANSACTION_ALREADY_ANSWERED - Static variable in exception org.restcomm.media.stun.StunException
Thrown when trying to send responses through a transaction that have already sent a response.
TRANSACTION_DOES_NOT_EXIST - Static variable in exception org.restcomm.media.stun.StunException
Thrown when trying to send responses through a non-existent transaction That may happen when a corresponding request has already been responded to or when no such request has been received.
TRANSACTION_ID_LENGTH - Static variable in class org.restcomm.media.stun.messages.StunMessage
The length of the transaction id (in bytes).
transactionID - Variable in class org.restcomm.media.stun.messages.StunMessage
The transaction ID is used to correlate requests and responses.
transportAddress - Variable in class org.restcomm.media.stun.messages.attributes.address.AddressAttribute
 
TURN_METHOD_ALLOCATE - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
TURN_METHOD_CHANNELBIND - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
TURN_METHOD_CREATEPERMISSION - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
TURN_METHOD_DATA - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
TURN_METHOD_REFRESH - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
TURN_METHOD_SEND - Static variable in class org.restcomm.media.stun.messages.StunMessage
 

U

UNAUTHORIZED - Static variable in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
UNKNOWN_ATTRIBUTE - Static variable in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
UNKNOWN_ATTRIBUTES - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Unknown attributes attribute.
UNKNOWN_ATTRIBUTES_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
UNKNOWN_ERROR - Static variable in exception org.restcomm.media.stun.StunException
Means that the the reason that caused the exception was unclear.
UNKNOWN_OPTIONAL_ATTRIBUTE - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Unknown optional attribute.
UNKNOWN_OPTIONAL_ATTRIBUTES_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
UnknownAttributesAttribute - Class in org.restcomm.media.stun.messages.attributes.general
 
UnknownAttributesAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.UnknownAttributesAttribute
 
USE_CANDIDATE - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Use candidate attribute.
USE_CANDIDATE_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
USE_TLS - Static variable in class org.restcomm.media.stun.messages.attributes.general.ErrorCodeAttribute
 
UseCandidateAttribute - Class in org.restcomm.media.stun.messages.attributes.general
This class implements the USE-CANDIDATE attribute.
This attribute is an extension to the original STUN protocol.
UseCandidateAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.UseCandidateAttribute
 
USERNAME - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
Username attribute.
USERNAME_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
UsernameAttribute - Class in org.restcomm.media.stun.messages.attributes.general
The USERNAME attribute is used for message integrity.
The value of USERNAME is a variable length value.
UsernameAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.UsernameAttribute
 

V

validateAttributePresentity() - Method in class org.restcomm.media.stun.messages.StunMessage
Verify that the message has all obligatory attributes and throw an exception if this is not the case.

X

XOR_MAPPED_ADDRESS - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
XOR Mapped address attribute.
XOR_MAPPED_ADDRESS_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
XOR_MASK - Static variable in class org.restcomm.media.stun.messages.attributes.general.FingerprintAttribute
The value that we need to XOR the CRC with.
XOR_ONLY - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
XOR only attribute.
XOR_ONLY_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
XOR_PEER_ADDRESS - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
XOR peer address attribute.
XOR_PEER_ADDRESS_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
XOR_RELAYED_ADDRESS - Static variable in class org.restcomm.media.stun.messages.attributes.StunAttribute
XOR relayed address attribute.
XOR_RELAYED_ADDRESS_PRESENTITY_INDEX - Static variable in class org.restcomm.media.stun.messages.StunMessage
 
XorMappedAddressAttribute - Class in org.restcomm.media.stun.messages.attributes.address
The XOR-MAPPED-ADDRESS attribute is only present in Binding Responses.
XorMappedAddressAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.address.XorMappedAddressAttribute
 
XorMappedAddressAttribute(char) - Constructor for class org.restcomm.media.stun.messages.attributes.address.XorMappedAddressAttribute
 
XorOnlyAttribute - Class in org.restcomm.media.stun.messages.attributes.general
This attribute is present in a Binding Request.
XorOnlyAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.general.XorOnlyAttribute
 
XorPeerAddressAttribute - Class in org.restcomm.media.stun.messages.attributes.address
The XOR-PEER-ADDRESS attribute is given by a TURN client to indicates the peer destination address of its relayed packet.
XorPeerAddressAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.address.XorPeerAddressAttribute
 
XorRelayedAddressAttribute - Class in org.restcomm.media.stun.messages.attributes.address
The XOR-RELAYED-ADDRESS attribute is given by a TURN server to indicates the client its relayed address.
XorRelayedAddressAttribute() - Constructor for class org.restcomm.media.stun.messages.attributes.address.XorRelayedAddressAttribute
 
A B C D E F G H I L M N O P R S T U V X 

Copyright © 2017 TeleStax, Inc.. All Rights Reserved.