org.lastbamboo.common.turn.client
Class TurnStunMessageMapperImpl

java.lang.Object
  extended by org.lastbamboo.common.turn.client.TurnStunMessageMapperImpl
All Implemented Interfaces:
TurnStunMessageMapper

public class TurnStunMessageMapperImpl
extends Object
implements TurnStunMessageMapper

Helper class for TURN that maps STUN transaction IDs to remote addresses.


Constructor Summary
TurnStunMessageMapperImpl()
           
 
Method Summary
 InetSocketAddress get(org.littleshoot.stun.stack.message.StunMessage msg)
           
 void mapMessage(org.littleshoot.stun.stack.message.StunMessage message, InetSocketAddress remoteAddress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TurnStunMessageMapperImpl

public TurnStunMessageMapperImpl()
Method Detail

mapMessage

public void mapMessage(org.littleshoot.stun.stack.message.StunMessage message,
                       InetSocketAddress remoteAddress)
Specified by:
mapMessage in interface TurnStunMessageMapper

get

public InetSocketAddress get(org.littleshoot.stun.stack.message.StunMessage msg)
Specified by:
get in interface TurnStunMessageMapper


Copyright © 2013 LittleShoot. All Rights Reserved.