org.lastbamboo.common.sip.client
Class SipClientMessageVisitorFactory
java.lang.Object
org.lastbamboo.common.sip.client.SipClientMessageVisitorFactory
- All Implemented Interfaces:
- org.lastbamboo.common.sip.stack.message.SipMessageVisitorFactory
public class SipClientMessageVisitorFactory
- extends Object
- implements org.lastbamboo.common.sip.stack.message.SipMessageVisitorFactory
Factory for creating SIP message visitors for SIP clients.
TODO: Ideally this wouldn't be tied to actual sockets in any way.
|
Constructor Summary |
SipClientMessageVisitorFactory(SipClient sipClient,
org.lastbamboo.common.sip.stack.transaction.client.SipTransactionTracker transactionTracker,
org.lastbamboo.common.offer.answer.OfferAnswerFactory offerAnswerFactory,
InetSocketAddress serverAddress,
org.littleshoot.util.SessionSocketListener callSocketListener)
Creates a new message visitor factory. |
|
Method Summary |
org.lastbamboo.common.sip.stack.message.SipMessageVisitor |
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 |
SipClientMessageVisitorFactory
public SipClientMessageVisitorFactory(SipClient sipClient,
org.lastbamboo.common.sip.stack.transaction.client.SipTransactionTracker transactionTracker,
org.lastbamboo.common.offer.answer.OfferAnswerFactory offerAnswerFactory,
InetSocketAddress serverAddress,
org.littleshoot.util.SessionSocketListener callSocketListener)
- Creates a new message visitor factory.
- Parameters:
sipClient - The SIP client.transactionTracker - The tracker for SIP transactions.offerAnswerFactory - The factory for creating offer/answer
instances.serverAddress - Listener for incoming sockets on the answerer.
createVisitor
public org.lastbamboo.common.sip.stack.message.SipMessageVisitor createVisitor(org.littleshoot.mina.common.IoSession session)
- Specified by:
createVisitor in interface org.lastbamboo.common.sip.stack.message.SipMessageVisitorFactory
Copyright © 2013 LittleShoot. All Rights Reserved.