org.lastbamboo.common.ice
Class IceStunCheckerFactoryImpl
java.lang.Object
org.lastbamboo.common.ice.IceStunCheckerFactoryImpl
- All Implemented Interfaces:
- IceStunCheckerFactory
public class IceStunCheckerFactoryImpl
- extends Object
- implements IceStunCheckerFactory
Class for creating STUN checker factories for both UDP and TCP. Each
media stream requires its own factory because the checkers are coupled to
data for that specific stream.
|
Constructor Summary |
IceStunCheckerFactoryImpl(org.littleshoot.stun.stack.transaction.StunTransactionTracker<org.littleshoot.stun.stack.message.StunMessage> transactionTracker)
Creates a new factory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IceStunCheckerFactoryImpl
public IceStunCheckerFactoryImpl(org.littleshoot.stun.stack.transaction.StunTransactionTracker<org.littleshoot.stun.stack.message.StunMessage> transactionTracker)
- Creates a new factory. The checks the factory creates can be either
for UDP or TCP.
- Parameters:
transactionTracker - The class that keeps track of STUN
transactions.
newChecker
public IceStunChecker newChecker(org.littleshoot.mina.common.IoSession session)
- Description copied from interface:
IceStunCheckerFactory
- Creates a new STUN checker.
- Specified by:
newChecker in interface IceStunCheckerFactory
- Parameters:
session - The IoSession for the checker.
- Returns:
- The new STUN checker.
Copyright © 2013 LittleShoot. All Rights Reserved.