org.lastbamboo.common.ice
Class ExistingSessionIceCandidatePairFactoryImpl

java.lang.Object
  extended by org.lastbamboo.common.ice.ExistingSessionIceCandidatePairFactoryImpl
All Implemented Interfaces:
ExistingSessionIceCandidatePairFactory

public class ExistingSessionIceCandidatePairFactoryImpl
extends Object
implements ExistingSessionIceCandidatePairFactory

Pair factory for when there's already a session established for this pair.


Constructor Summary
ExistingSessionIceCandidatePairFactoryImpl(IceStunCheckerFactory checkerFactory)
          Creates a new pair factory that uses an already-established session for the pair.
 
Method Summary
 IceCandidatePair newUdpPair(IceCandidate localCandidate, IceCandidate remoteCandidate, org.littleshoot.mina.common.IoSession ioSession)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExistingSessionIceCandidatePairFactoryImpl

public ExistingSessionIceCandidatePairFactoryImpl(IceStunCheckerFactory checkerFactory)
Creates a new pair factory that uses an already-established session for the pair.

Parameters:
checkerFactory - The class that performs STUN checks.
Method Detail

newUdpPair

public IceCandidatePair newUdpPair(IceCandidate localCandidate,
                                   IceCandidate remoteCandidate,
                                   org.littleshoot.mina.common.IoSession ioSession)
Specified by:
newUdpPair in interface ExistingSessionIceCandidatePairFactory


Copyright © 2013 LittleShoot. All Rights Reserved.