org.lastbamboo.common.sip.bootstrap
Class RobustProxyRegistrarFactoryImpl
java.lang.Object
org.lastbamboo.common.sip.bootstrap.RobustProxyRegistrarFactoryImpl
- All Implemented Interfaces:
- RobustProxyRegistrarFactory
public final class RobustProxyRegistrarFactoryImpl
- extends Object
- implements RobustProxyRegistrarFactory
An implementation of the robust proxy registrar factory implementation.
|
Method Summary |
ProxyRegistrar |
getRegistrar(URI client,
org.lastbamboo.common.sip.client.util.ProxyRegistrationListener listener)
Returns a proxy registrar. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RobustProxyRegistrarFactoryImpl
public RobustProxyRegistrarFactoryImpl(org.lastbamboo.common.sip.stack.util.UriUtils uriUtils,
org.littleshoot.util.CandidateProvider<InetSocketAddress> sipCandidateProvider,
ProxyRegistrarFactory registrarFactory)
- Constructs a new robust proxy registrar factory.
- Parameters:
uriUtils - Utilities for creating SIP URIs.sipCandidateProvider - The candidate provider that provides
candidate registrars for registration.registrarFactory - The registrar factory that provides registrars
for single registrations.
getRegistrar
public ProxyRegistrar getRegistrar(URI client,
org.lastbamboo.common.sip.client.util.ProxyRegistrationListener listener)
- Returns a proxy registrar. The returned registrar will handle
registration for a given client and proxy. A given listener will be
notified of registration events.
- Specified by:
getRegistrar in interface RobustProxyRegistrarFactory
- Parameters:
client - The client the registrar will handle registration for.listener - The listener to notify of registration events.
- Returns:
- A proxy registrar.
Copyright © 2013 LittleShoot. All Rights Reserved.