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

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

public class ClientTransactionWrapper
extends SuperTransactionWrapper
implements javax.sip.ClientTransaction, WrapperSuperInterface

See Also:
Serialized Form

Field Summary
protected  ClientTransactionAssociation association
           
 
Fields inherited from class org.mobicents.slee.resource.sip11.wrappers.SuperTransactionWrapper
sipActivityHandle, wrappedTransaction
 
Constructor Summary
ClientTransactionWrapper(javax.sip.ClientTransaction wrappedTransaction)
           
 
Method Summary
 void associateServerTransaction(java.lang.String branch, SipActivityHandle dialogHandle)
           
 void cleanup()
           
 javax.sip.message.Request createAck()
           
 javax.sip.message.Request createCancel()
           
 java.lang.String getAssociatedTransactionBranchId()
           
 SipActivityHandle getAssociationHandle()
           
 java.lang.String getBranchId()
           
 javax.sip.Dialog getDialog()
           
 javax.sip.message.Request getRequest()
           
 int getRetransmitTimer()
           
 javax.sip.TransactionState getState()
           
 void sendRequest()
           
 void setRetransmitTimer(int arg0)
           
 void terminate()
           
 java.lang.String toString()
           
 
Methods inherited from class org.mobicents.slee.resource.sip11.wrappers.SuperTransactionWrapper
getActivityHandle, getApplicationData, getWrappedTransaction, setApplicationData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.sip.Transaction
getApplicationData, setApplicationData
 
Methods inherited from interface org.mobicents.slee.resource.sip11.wrappers.WrapperSuperInterface
getActivityHandle
 

Field Detail

association

protected ClientTransactionAssociation association
Constructor Detail

ClientTransactionWrapper

public ClientTransactionWrapper(javax.sip.ClientTransaction wrappedTransaction)
Method Detail

getDialog

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

createAck

public javax.sip.message.Request createAck()
                                    throws javax.sip.SipException
Specified by:
createAck 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

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

getRetransmitTimer

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

getState

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

sendRequest

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

setRetransmitTimer

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

terminate

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

toString

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

associateServerTransaction

public void associateServerTransaction(java.lang.String branch,
                                       SipActivityHandle dialogHandle)

getAssociationHandle

public SipActivityHandle getAssociationHandle()

getAssociatedTransactionBranchId

public java.lang.String getAssociatedTransactionBranchId()

cleanup

public void cleanup()
Specified by:
cleanup in interface WrapperSuperInterface


Copyright © 2008. All Rights Reserved.