org.mobicents.servlet.sip.message
Class TransactionApplicationData

java.lang.Object
  extended by org.mobicents.servlet.sip.message.TransactionApplicationData
All Implemented Interfaces:
java.io.Serializable

public class TransactionApplicationData
extends java.lang.Object
implements java.io.Serializable

A container for holding branch specific data.

Author:
mranga
See Also:
Serialized Form

Constructor Summary
TransactionApplicationData(SipServletMessageImpl sipServletMessage)
           
 
Method Summary
 void addSipServletResponse(SipServletResponseImpl sipServletResponse)
          used to get access from the B2BUA to pending messages on the transaction
 Address getInitialPoppedRoute()
           
 java.lang.String getInitialRemoteHostAddress()
           
 int getInitialRemotePort()
           
 java.lang.String getInitialRemoteTransport()
           
 ProxyBranchImpl getProxyBranch()
           
 java.util.concurrent.atomic.AtomicInteger getRseqNumber()
           
 SipServletMessageImpl getSipServletMessage()
           
 java.util.Set<SipServletResponseImpl> getSipServletResponses()
           
 javax.sip.Transaction getTransaction()
           
 void setInitialPoppedRoute(Address initialPoppedRoute)
           
 void setInitialRemoteHostAddress(java.lang.String initialRemoteHostAddress)
           
 void setInitialRemotePort(int initialRemotePort)
           
 void setInitialRemoteTransport(java.lang.String initialRemoteTransport)
           
 void setProxyBranch(ProxyBranchImpl proxyBranch)
           
 void setRseqNumber(java.util.concurrent.atomic.AtomicInteger rseqNumber)
           
 void setTransaction(javax.sip.Transaction transaction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionApplicationData

public TransactionApplicationData(SipServletMessageImpl sipServletMessage)
Method Detail

setProxyBranch

public void setProxyBranch(ProxyBranchImpl proxyBranch)

getProxyBranch

public ProxyBranchImpl getProxyBranch()
Returns:
the proxyBranch

getSipServletMessage

public SipServletMessageImpl getSipServletMessage()

getTransaction

public javax.sip.Transaction getTransaction()
Returns:
the transaction

setTransaction

public void setTransaction(javax.sip.Transaction transaction)
Parameters:
transaction - the transaction to set

addSipServletResponse

public void addSipServletResponse(SipServletResponseImpl sipServletResponse)
used to get access from the B2BUA to pending messages on the transaction


getSipServletResponses

public java.util.Set<SipServletResponseImpl> getSipServletResponses()

setInitialRemoteHostAddress

public void setInitialRemoteHostAddress(java.lang.String initialRemoteHostAddress)
Parameters:
initialRemoteHostAddress - the initialRemoteHostAddress to set

getInitialRemoteHostAddress

public java.lang.String getInitialRemoteHostAddress()
Returns:
the initialRemoteHostAddress

setInitialRemotePort

public void setInitialRemotePort(int initialRemotePort)
Parameters:
initialRemotePort - the initialRemotePort to set

getInitialRemotePort

public int getInitialRemotePort()
Returns:
the initialRemotePort

setInitialRemoteTransport

public void setInitialRemoteTransport(java.lang.String initialRemoteTransport)
Parameters:
initialRemoteTransport - the initialRemoteTransport to set

getInitialRemoteTransport

public java.lang.String getInitialRemoteTransport()
Returns:
the initialRemoteTransport

getInitialPoppedRoute

public Address getInitialPoppedRoute()

setInitialPoppedRoute

public void setInitialPoppedRoute(Address initialPoppedRoute)
Parameters:
initialPoppedRoute - the initialPoppedRoute to set

getRseqNumber

public java.util.concurrent.atomic.AtomicInteger getRseqNumber()
Returns:
the rseqNumber

setRseqNumber

public void setRseqNumber(java.util.concurrent.atomic.AtomicInteger rseqNumber)
Parameters:
rseqNumber - the rseqNumber to set


Copyright © 2009. All Rights Reserved.