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.ClientTransactionWrapper
              extended by org.mobicents.slee.resource.sip11.wrappers.NullClientTransactionWrapper
All Implemented Interfaces:
java.io.Serializable, javax.sip.ClientTransaction, javax.sip.Transaction

public class NullClientTransactionWrapper
extends ClientTransactionWrapper

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, ra
 
Constructor Summary
NullClientTransactionWrapper(SipActivityHandle activityHandle, SipResourceAdaptor ra)
           
 
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.
 void terminated()
          callback invoked when the underlying tx was terminated
 
Methods inherited from class org.mobicents.slee.resource.sip11.wrappers.ClientTransactionWrapper
clear, createAck, createCancel, getAssociatedServerTransaction, getEventFiringAddress, getWrappedClientTransaction, isAckTransaction, isClientTransaction, sendRequest, setAssociatedServerTransaction, toString
 
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
ending, getActivityHandle, getApplicationData, isEnding, 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, getBranchId, getDialog, getRequest, getRetransmitTimer, getState, setApplicationData, setRetransmitTimer, terminate
 

Constructor Detail

NullClientTransactionWrapper

public NullClientTransactionWrapper(SipActivityHandle activityHandle,
                                    SipResourceAdaptor ra)
Parameters:
activityHandle -
Method Detail

getWrappedTransaction

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

Overrides:
getWrappedTransaction in class ClientTransactionWrapper
Returns:

terminated

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

Overrides:
terminated in class ClientTransactionWrapper

getEventFiringAddress

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

Overrides:
getEventFiringAddress in class ClientTransactionWrapper
Returns:


Copyright © 2012. All Rights Reserved.