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

java.lang.Object
  extended by org.mobicents.slee.resource.sip11.wrappers.Wrapper
      extended by org.mobicents.slee.resource.sip11.wrappers.TransactionWrapper
          extended by org.mobicents.slee.resource.sip11.wrappers.NullClientTransactionWrapper
All Implemented Interfaces:
java.io.Serializable, javax.sip.Transaction

public class NullClientTransactionWrapper
extends TransactionWrapper

A dummy client tx wrapper for a non existent client transaction, used when firing out of dialog late responses.

Author:
martins
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mobicents.slee.resource.sip11.wrappers.Wrapper
activityHandle, ending
 
Constructor Summary
NullClientTransactionWrapper(SipActivityHandle activityHandle)
           
 
Method Summary
 javax.slee.Address getEventFiringAddress()
          Retrieves the slee Address where events on this resource are fired.
 javax.sip.Transaction getWrappedTransaction()
          Retrieves the wrapped sip transaction.
 boolean isAckTransaction()
          Indicates if the wrapper is an ack dummy transaction.
 void setResourceAdaptor(SipResourceAdaptor ra)
          Sets the resource adaptor object, which owns the wrapper.
 void terminated()
          callback invoked when the underlying tx was terminated
 
Methods inherited from class org.mobicents.slee.resource.sip11.wrappers.TransactionWrapper
getBranchId, getDialog, getDialogWrapper, getRequest, getRetransmitTimer, getState, isActivity, isDialog, setActivity, setRetransmitTimer, terminate
 
Methods inherited from class org.mobicents.slee.resource.sip11.wrappers.Wrapper
clear, ending, getActivityHandle, getApplicationData, isEnding, setApplicationData
 
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
 

Constructor Detail

NullClientTransactionWrapper

public NullClientTransactionWrapper(SipActivityHandle activityHandle)
Parameters:
activityHandle -
Method Detail

getWrappedTransaction

public javax.sip.Transaction getWrappedTransaction()
Description copied from class: TransactionWrapper
Retrieves the wrapped sip transaction.

Specified by:
getWrappedTransaction in class TransactionWrapper
Returns:

terminated

public void terminated()
Description copied from class: TransactionWrapper
callback invoked when the underlying tx was terminated

Specified by:
terminated in class TransactionWrapper

getEventFiringAddress

public javax.slee.Address getEventFiringAddress()
Description copied from class: Wrapper
Retrieves the slee Address where events on this resource are fired.

Specified by:
getEventFiringAddress in class Wrapper
Returns:

isAckTransaction

public boolean isAckTransaction()
Description copied from class: Wrapper
Indicates if the wrapper is an ack dummy transaction.

Specified by:
isAckTransaction in class Wrapper
Returns:

setResourceAdaptor

public void setResourceAdaptor(SipResourceAdaptor ra)
Description copied from class: Wrapper
Sets the resource adaptor object, which owns the wrapper.

Specified by:
setResourceAdaptor in class Wrapper


Copyright © 2009. All Rights Reserved.