org.littleshoot.stun.stack.message.attributes
Class StunServerAttribute
java.lang.Object
org.littleshoot.stun.stack.message.attributes.AbstractStunAttribute
org.littleshoot.stun.stack.message.attributes.StunServerAttribute
- All Implemented Interfaces:
- StunAttribute
public class StunServerAttribute
- extends AbstractStunAttribute
The STUN server attribute.
StunServerAttribute
public StunServerAttribute(int bodyLength,
String serverText)
- Creates a new STUN server attribute.
- Parameters:
bodyLength - The length of the STUN server attribute body.serverText - The text description of the server.
accept
public void accept(StunAttributeVisitor visitor)
- Description copied from interface:
StunAttribute
- Allows attributes to accept visitors.
- Parameters:
visitor - The visitor to accept.
getServerText
public String getServerText()
- Gets the description of the server.
- Returns:
- The description of the server.
Copyright © 2013 LittleShoot. All Rights Reserved.