org.littleshoot.stun.stack.message.attributes
Class StunAttributesFactoryImpl

java.lang.Object
  extended by org.littleshoot.stun.stack.message.attributes.StunAttributesFactoryImpl
All Implemented Interfaces:
StunAttributesFactory

public class StunAttributesFactoryImpl
extends Object
implements StunAttributesFactory

Class for creating STUN attributes.


Constructor Summary
StunAttributesFactoryImpl()
           
 
Method Summary
 Map<StunAttributeType,StunAttribute> createAttributes(org.littleshoot.mina.common.ByteBuffer body)
          Creates a new Map of STUN attributes from the specified message body.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StunAttributesFactoryImpl

public StunAttributesFactoryImpl()
Method Detail

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.