org.littleshoot.stun.stack.message.attributes
Class StunAttributesFactoryImpl
java.lang.Object
org.littleshoot.stun.stack.message.attributes.StunAttributesFactoryImpl
- All Implemented Interfaces:
- StunAttributesFactory
public class StunAttributesFactoryImpl
- extends Object
- implements StunAttributesFactory
Class for creating STUN attributes.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StunAttributesFactoryImpl
public StunAttributesFactoryImpl()
createAttributes
public Map<StunAttributeType,StunAttribute> createAttributes(org.littleshoot.mina.common.ByteBuffer body)
- Description copied from interface:
StunAttributesFactory
- Creates a new
Map of STUN attributes from the specified message
body.
- Specified by:
createAttributes in interface StunAttributesFactory
- Parameters:
body - The body of the STUN message.
- Returns:
- The
Map of attribute types to STUN attributes.
Copyright © 2013 LittleShoot. All Rights Reserved.