org.lastbamboo.common.ice.transport
Class IceUdpStunChecker

java.lang.Object
  extended by org.lastbamboo.common.ice.transport.AbstractIceStunChecker
      extended by org.lastbamboo.common.ice.transport.IceUdpStunChecker
All Implemented Interfaces:
IceStunChecker, org.littleshoot.stun.stack.transaction.StunTransactionListener

public class IceUdpStunChecker
extends AbstractIceStunChecker

Class that performs STUN connectivity checks for ICE over UDP. Each ICE candidate pair has its own connectivity checker.


Field Summary
 
Fields inherited from class org.lastbamboo.common.ice.transport.AbstractIceStunChecker
m_closed, m_idsToResponses, m_ioSession, m_requestLock, m_transactionCanceled, m_transactionTracker, m_writeCallsForChecker
 
Constructor Summary
IceUdpStunChecker(org.littleshoot.mina.common.IoSession session, org.littleshoot.stun.stack.transaction.StunTransactionTracker<org.littleshoot.stun.stack.message.StunMessage> transactionTracker)
          Creates a new UDP STUN connectivity checker.
 
Method Summary
protected  org.littleshoot.stun.stack.message.StunMessage writeInternal(org.littleshoot.stun.stack.message.BindingRequest bindingRequest, long rto)
           
 
Methods inherited from class org.lastbamboo.common.ice.transport.AbstractIceStunChecker
cancelTransaction, close, onTransactionFailed, onTransactionSucceeded, waitIfNoResponse, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IceUdpStunChecker

public IceUdpStunChecker(org.littleshoot.mina.common.IoSession session,
                         org.littleshoot.stun.stack.transaction.StunTransactionTracker<org.littleshoot.stun.stack.message.StunMessage> transactionTracker)
Creates a new UDP STUN connectivity checker.

Parameters:
session - The MINA session over which the checks will take place.
transactionTracker - The class for keeping track of STUN transactions for checks.
Method Detail

writeInternal

protected org.littleshoot.stun.stack.message.StunMessage writeInternal(org.littleshoot.stun.stack.message.BindingRequest bindingRequest,
                                                                       long rto)
Specified by:
writeInternal in class AbstractIceStunChecker


Copyright © 2013 LittleShoot. All Rights Reserved.