org.mobicents.slee.resource.sip.wrappers
Class ClientTransactionWrapper

java.lang.Object
  extended by org.mobicents.slee.resource.sip.wrappers.ClientTransactionWrapper
All Implemented Interfaces:
java.io.Serializable, javax.sip.ClientTransaction, javax.sip.Transaction, SecretWrapperInterface

public class ClientTransactionWrapper
extends java.lang.Object
implements javax.sip.ClientTransaction, SecretWrapperInterface

See Also:
Serialized Form

Constructor Summary
ClientTransactionWrapper(javax.sip.ClientTransaction CT, DialogWrapper dialogWrapper)
           
 
Method Summary
 javax.sip.message.Request createAck()
           
 javax.sip.message.Request createCancel()
           
 SipActivityHandle getActivityHandle()
           
 java.lang.Object getApplicationData()
           
 java.lang.String getBranchId()
           
 javax.sip.Dialog getDialog()
           
 javax.sip.Transaction getRealTransaction()
           
 javax.sip.message.Request getRequest()
           
 int getRetransmitTimer()
           
 javax.sip.TransactionState getState()
           
 void sendRequest()
           
 void setApplicationData(java.lang.Object appData)
           
 void setDialogWrapper(DialogWrapper dialogWrapper)
           
 void setRetransmitTimer(int arg0)
           
 void terminate()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientTransactionWrapper

public ClientTransactionWrapper(javax.sip.ClientTransaction CT,
                                DialogWrapper dialogWrapper)
Method Detail

getRealTransaction

public javax.sip.Transaction getRealTransaction()
Specified by:
getRealTransaction in interface SecretWrapperInterface

setDialogWrapper

public void setDialogWrapper(DialogWrapper dialogWrapper)
Specified by:
setDialogWrapper in interface SecretWrapperInterface

sendRequest

public void sendRequest()
                 throws javax.sip.SipException
Specified by:
sendRequest in interface javax.sip.ClientTransaction
Throws:
javax.sip.SipException

createCancel

public javax.sip.message.Request createCancel()
                                       throws javax.sip.SipException
Specified by:
createCancel in interface javax.sip.ClientTransaction
Throws:
javax.sip.SipException

createAck

public javax.sip.message.Request createAck()
                                    throws javax.sip.SipException
Specified by:
createAck in interface javax.sip.ClientTransaction
Throws:
javax.sip.SipException

getDialog

public javax.sip.Dialog getDialog()
Specified by:
getDialog in interface javax.sip.Transaction

getState

public javax.sip.TransactionState getState()
Specified by:
getState in interface javax.sip.Transaction

getRetransmitTimer

public int getRetransmitTimer()
                       throws java.lang.UnsupportedOperationException
Specified by:
getRetransmitTimer in interface javax.sip.Transaction
Throws:
java.lang.UnsupportedOperationException

setRetransmitTimer

public void setRetransmitTimer(int arg0)
                        throws java.lang.UnsupportedOperationException
Specified by:
setRetransmitTimer in interface javax.sip.Transaction
Throws:
java.lang.UnsupportedOperationException

getBranchId

public java.lang.String getBranchId()
Specified by:
getBranchId in interface javax.sip.Transaction

getRequest

public javax.sip.message.Request getRequest()
Specified by:
getRequest in interface javax.sip.Transaction

setApplicationData

public void setApplicationData(java.lang.Object appData)
Specified by:
setApplicationData in interface javax.sip.Transaction

getApplicationData

public java.lang.Object getApplicationData()
Specified by:
getApplicationData in interface javax.sip.Transaction

terminate

public void terminate()
               throws javax.sip.ObjectInUseException
Specified by:
terminate in interface javax.sip.Transaction
Throws:
javax.sip.ObjectInUseException

getActivityHandle

public SipActivityHandle getActivityHandle()
Specified by:
getActivityHandle in interface SecretWrapperInterface

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008. All Rights Reserved.