| Modifier and Type | Method and Description |
|---|---|
static StunMessage |
StunMessage.decode(byte[] binMessage,
char offset,
char arrayLen)
Constructs a message from its binary representation.
|
void |
StunMessage.setTransactionID(byte[] tranID)
Copies the specified tranID and sets it as this message's transactionID.
|
| Modifier and Type | Method and Description |
|---|---|
static ErrorCodeAttribute |
StunAttributeFactory.createErrorCodeAttribute(byte errorClass,
byte errorNumber)
Creates an ErrorCodeAttribute with the specified error class and number
and a default reason phrase.
|
static ErrorCodeAttribute |
StunAttributeFactory.createErrorCodeAttribute(byte errorClass,
byte errorNumber,
String reasonPhrase)
Creates an ErrorCodeAttribute with the specified error class, number and
reason phrase.
|
static ErrorCodeAttribute |
StunAttributeFactory.createErrorCodeAttribute(char errorCode)
Creates an ErrorCodeAttribute with the specified error code and a default
reason phrase.
|
static StunAttribute |
StunAttributeDecoder.decode(byte[] bytes,
char offset,
char length)
Decodes the specified binary array and returns the corresponding
attribute object.
|
protected abstract void |
StunAttribute.decodeAttributeBody(byte[] data,
char offset,
char length)
Sets this attribute's fields according to attributeValue array.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AddressAttribute.decodeAttributeBody(byte[] attributeValue,
char offset,
char length) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ControlAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DataAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
| Modifier and Type | Method and Description |
|---|---|
void |
XorOnlyAttribute.decodeAttributeBody(byte[] attributeValue,
char offset,
char length)
Sets this attribute's fields according to attributeValue array.
|
protected void |
NonceAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
MagicCookieAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
OptionalAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
UsernameAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
LifetimeAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
UseCandidateAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
ErrorCodeAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
RequestedTransportAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
ReservationTokenAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
SoftwareAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
EvenPortAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
DontFragmentAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
PriorityAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
ChannelNumberAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
RealmAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
FingerprintAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
MessageIntegrityAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
protected void |
ChangeRequestAttribute.decodeAttributeBody(byte[] attributeValue,
char offset,
char length) |
protected void |
UnknownAttributesAttribute.decodeAttributeBody(byte[] data,
char offset,
char length) |
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.