org.littleshoot.stun.stack.message.attributes.ice
Class IcePriorityAttribute
java.lang.Object
org.littleshoot.stun.stack.message.attributes.AbstractStunAttribute
org.littleshoot.stun.stack.message.attributes.ice.IcePriorityAttribute
- All Implemented Interfaces:
- StunAttribute
public final class IcePriorityAttribute
- extends AbstractStunAttribute
The PRIORITY attribute indicates the priority that is to be associated
with a peer reflexive candidate, should one be discovered by this check.
It is a 32 bit unsigned integer.
IcePriorityAttribute
public IcePriorityAttribute(long priority)
- Creates a new priority attribute.
- Parameters:
priority - The priority as an unsigned int.
getPriority
public long getPriority()
- Accessor for the priority as an unsigned int.
- Returns:
- The priority as an unsigned int.
accept
public void accept(StunAttributeVisitor visitor)
- Description copied from interface:
StunAttribute
- Allows attributes to accept visitors.
- Parameters:
visitor - The visitor to accept.
toString
public String toString()
- Overrides:
toString in class AbstractStunAttribute
Copyright © 2013 LittleShoot. All Rights Reserved.