org.lastbamboo.common.sip.stack.transaction.client
Class SipTransactionFactoryImpl
java.lang.Object
org.lastbamboo.common.sip.stack.transaction.client.SipTransactionFactoryImpl
- All Implemented Interfaces:
- SipTransactionFactory
public class SipTransactionFactoryImpl
- extends Object
- implements SipTransactionFactory
Class for creating SIP transactions.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SipTransactionFactoryImpl
public SipTransactionFactoryImpl(SipTransactionTracker tracker,
SipMessageFactory messageFactory,
int t1)
- Creates a new transaction factory with the specified tracker.
- Parameters:
tracker - The class that keeps track of transactions.messageFactory - The factory for creating SIP messages.t1 - The value to use for T1, as specified in RFC 3261 section
17.1.1.2 on page 126. T1 is multiplied by 64 to give the
timeout for transactions.
createClientTransaction
public SipClientTransaction createClientTransaction(SipMessage request,
org.lastbamboo.common.offer.answer.OfferAnswerTransactionListener listener)
- Description copied from interface:
SipTransactionFactory
- Creates a new client transaction.
- Specified by:
createClientTransaction in interface SipTransactionFactory
- Parameters:
request - The SIP request creating the client transaction.listener - The listener for transaction events.
- Returns:
- The new client transaction.
Copyright © 2013 LittleShoot. All Rights Reserved.