|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.littleshoot.stun.stack.message.AbstractStunMessage
org.littleshoot.stun.stack.message.turn.AllocateErrorResponse
public final class AllocateErrorResponse
Creates a new response to an allocate request. This includes the mapped address the server has allocated to proxy data to the TURN client.
| Constructor Summary | |
|---|---|
AllocateErrorResponse(org.apache.commons.id.uuid.UUID transactionId,
int errorCode,
String reasonPhrase)
Creates a new successful response to an allocate request. |
|
AllocateErrorResponse(org.apache.commons.id.uuid.UUID transactionId,
Map<StunAttributeType,StunAttribute> attributes)
Creates a new successful response to an allocate request. |
|
| Method Summary | ||
|---|---|---|
|
accept(StunMessageVisitor<T> visitor)
Accepts the specified visitor class. |
|
int |
getErrorCode()
Returns the full error code. |
|
| Methods inherited from class org.littleshoot.stun.stack.message.AbstractStunMessage |
|---|
createAttributes, createRemoteAddress, getAttributes, getBodyLength, getTotalLength, getTransactionId, getType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AllocateErrorResponse(org.apache.commons.id.uuid.UUID transactionId,
Map<StunAttributeType,StunAttribute> attributes)
transactionId - The ID of the transaction, matching the ID of the
request.attributes - The message attributes.
public AllocateErrorResponse(org.apache.commons.id.uuid.UUID transactionId,
int errorCode,
String reasonPhrase)
transactionId - The ID of the transaction, matching the ID of the
request.errorCode - The code for the error.reasonPhrase - The reason description.| Method Detail |
|---|
public int getErrorCode()
public <T> T accept(StunMessageVisitor<T> visitor)
VisitableStunMessage
T - The type the visitor will return.visitor - The visitor to accept.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||