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
 void cleanUp()
           
 java.lang.String getAppNotDeployed()
           
 Address getInitialPoppedRoute()
           
 java.lang.String getInitialRemoteHostAddress()
           
 int getInitialRemotePort()
           
 java.lang.String getInitialRemoteTransport()
           
 java.lang.String getModifier()
           
 ProxyBranchImpl getProxyBranch()
           
 java.util.concurrent.atomic.AtomicInteger getRseqNumber()
           
 SipServletMessageImpl getSipServletMessage()
           
 java.util.Set<SipServletResponseImpl> getSipServletResponses()
           
 javax.sip.Transaction getTransaction()
           
 boolean isCanceled()
           
 boolean isNoAppReturned()
           
 void setAppNotDeployed(java.lang.String appNotDeployed)
           
 void setCanceled(boolean canceled)
           
 void setInitialPoppedRoute(Address initialPoppedRoute)
           
 void setInitialRemoteHostAddress(java.lang.String initialRemoteHostAddress)
           
 void setInitialRemotePort(int initialRemotePort)
           
 void setInitialRemoteTransport(java.lang.String initialRemoteTransport)
           
 void setModifier(java.lang.String modifier)
           
 void setNoAppReturned(boolean noAppReturned)
           
 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

setAppNotDeployed

public void setAppNotDeployed(java.lang.String appNotDeployed)
Parameters:
appNotDeployed - the appNotDeployed to set

getAppNotDeployed

public java.lang.String getAppNotDeployed()
Returns:
the appNotDeployed

setNoAppReturned

public void setNoAppReturned(boolean noAppReturned)
Parameters:
noAppReturned - the noAppReturned to set

isNoAppReturned

public boolean isNoAppReturned()
Returns:
the noAppReturned

setModifier

public void setModifier(java.lang.String modifier)
Parameters:
modifier - the modifier to set

getModifier

public java.lang.String getModifier()
Returns:
the modifier

isCanceled

public boolean isCanceled()

setCanceled

public void setCanceled(boolean canceled)

cleanUp

public void cleanUp()


Copyright © 2010. All Rights Reserved.