org.mobicents.slee.resource.sip11.wrappers
Class TransactionWrapper
java.lang.Object
org.mobicents.slee.resource.sip11.wrappers.Wrapper
org.mobicents.slee.resource.sip11.wrappers.TransactionWrapper
- All Implemented Interfaces:
- java.io.Serializable, javax.sip.Transaction
- Direct Known Subclasses:
- ClientTransactionWrapper, NullClientTransactionWrapper, ServerTransactionWrapper
public abstract class TransactionWrapper
- extends Wrapper
- implements javax.sip.Transaction
The base class for client and server transaction wrappers.
- Author:
- martins
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.sip.Transaction |
getApplicationData, setApplicationData |
TransactionWrapper
public TransactionWrapper(TransactionActivityHandle activityHandle)
- Parameters:
activityHandle -
isDialog
public boolean isDialog()
- Description copied from class:
Wrapper
- Indicates if the wrapper is a
Dialog
- Specified by:
isDialog in class Wrapper
- Returns:
getWrappedTransaction
public abstract javax.sip.Transaction getWrappedTransaction()
- Retrieves the wrapped sip transaction.
- Returns:
isActivity
public boolean isActivity()
- Indicates if the wrapper is an activity.
- Specified by:
isActivity in class Wrapper
- Returns:
setActivity
public void setActivity(boolean activity)
- Parameters:
activity -
getDialogWrapper
public DialogWrapper getDialogWrapper()
- Returns:
terminated
public abstract void terminated()
- callback invoked when the underlying tx was terminated
getBranchId
public java.lang.String getBranchId()
- Specified by:
getBranchId in interface javax.sip.Transaction
getDialog
public javax.sip.Dialog getDialog()
- Specified by:
getDialog 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
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
Copyright © 2009. All Rights Reserved.