|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.littleshoot.stun.stack.message.CanceledStunMessage
public class CanceledStunMessage
Placeholder class that forces callers to handle cases where the request transaction was cancelled.
| Constructor Summary | |
|---|---|
CanceledStunMessage()
|
|
| Method Summary | ||
|---|---|---|
|
accept(StunMessageVisitor<T> visitor)
Accepts the specified visitor class. |
|
Map<StunAttributeType,StunAttribute> |
getAttributes()
Accessor for the message attributes. |
|
int |
getBodyLength()
Accessor for the length of the message body. |
|
int |
getTotalLength()
Accessor for the total length of the message, including headers. |
|
org.apache.commons.id.uuid.UUID |
getTransactionId()
Accessor for the ID of the message's transaction. |
|
StunMessageType |
getType()
Accessor for the type of the message. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CanceledStunMessage()
| Method Detail |
|---|
public Map<StunAttributeType,StunAttribute> getAttributes()
StunMessage
getAttributes in interface StunMessageMap.public int getBodyLength()
StunMessage
getBodyLength in interface StunMessagepublic int getTotalLength()
StunMessage
getTotalLength in interface StunMessagepublic org.apache.commons.id.uuid.UUID getTransactionId()
StunMessage
getTransactionId in interface StunMessagepublic StunMessageType getType()
StunMessage
getType in interface StunMessagepublic <T> T accept(StunMessageVisitor<T> visitor)
VisitableStunMessage
accept in interface VisitableStunMessageT - 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 | |||||||||