org.lastbamboo.common.ice
Class IceStunConnectivityCheckerFactoryImpl<T>

java.lang.Object
  extended by org.lastbamboo.common.ice.IceStunConnectivityCheckerFactoryImpl<T>
Type Parameters:
T - This is also a message visitor for visiting messages on the port we're checking. T is the class the visitors return.
All Implemented Interfaces:
org.littleshoot.stun.stack.message.StunMessageVisitorFactory<T>

public class IceStunConnectivityCheckerFactoryImpl<T>
extends Object
implements org.littleshoot.stun.stack.message.StunMessageVisitorFactory<T>

Factory for creating ICE connectivity checkers.


Constructor Summary
IceStunConnectivityCheckerFactoryImpl(IceAgent iceAgent, org.littleshoot.stun.stack.transaction.StunTransactionTracker<T> transactionTracker, IceStunCheckerFactory checkerFactory)
          Creates a new factory for creating connectivity checkers.
 
Method Summary
 org.littleshoot.stun.stack.message.StunMessageVisitor<T> createVisitor(org.littleshoot.mina.common.IoSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IceStunConnectivityCheckerFactoryImpl

public IceStunConnectivityCheckerFactoryImpl(IceAgent iceAgent,
                                             org.littleshoot.stun.stack.transaction.StunTransactionTracker<T> transactionTracker,
                                             IceStunCheckerFactory checkerFactory)
Creates a new factory for creating connectivity checkers.

Parameters:
iceAgent - The agent performing the checks.
transactionTracker - The class that keeps track of STUN transactions during the checks.
checkerFactory - The class that creates new checkers.
Method Detail

createVisitor

public org.littleshoot.stun.stack.message.StunMessageVisitor<T> createVisitor(org.littleshoot.mina.common.IoSession session)
Specified by:
createVisitor in interface org.littleshoot.stun.stack.message.StunMessageVisitorFactory<T>


Copyright © 2013 LittleShoot. All Rights Reserved.