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

java.lang.Object
  extended by org.mobicents.slee.resource.sip11.wrappers.Wrapper
Direct Known Subclasses:
DialogWrapper, TransactionWrapper

public abstract class Wrapper
extends java.lang.Object


Field Summary
protected  SipActivityHandle activityHandle
           
protected  boolean ending
           
protected  SipResourceAdaptor ra
           
 
Constructor Summary
Wrapper(SipActivityHandle activityHandle, SipResourceAdaptor ra)
           
 
Method Summary
 void clear()
           
 void ending()
          Indicates this activity is ending.
 SipActivityHandle getActivityHandle()
          Retrieves the handle associated with the activity.
 java.lang.Object getApplicationData()
          Operation forbidden in the sip interfaces implemented by concrete wrappers.
abstract  javax.slee.Address getEventFiringAddress()
          Retrieves the slee Address where events on this resource are fired.
abstract  boolean isAckTransaction()
          Indicates if the wrapper is an ack dummy transaction.
abstract  boolean isDialog()
          Indicates if the wrapper is a Dialog
 boolean isEnding()
          In case the wrapper is an activity, it indicates if it is ending, otherwise it doesn't have a meaning.
 void setApplicationData(java.lang.Object arg0)
          Operation forbidden in the sip interfaces implemented by concrete wrappers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

activityHandle

protected SipActivityHandle activityHandle

ra

protected SipResourceAdaptor ra

ending

protected boolean ending
Constructor Detail

Wrapper

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

isDialog

public abstract boolean isDialog()
Indicates if the wrapper is a Dialog

Returns:

isAckTransaction

public abstract boolean isAckTransaction()
Indicates if the wrapper is an ack dummy transaction.

Returns:

getActivityHandle

public SipActivityHandle getActivityHandle()
Retrieves the handle associated with the activity.

Returns:

getEventFiringAddress

public abstract javax.slee.Address getEventFiringAddress()
Retrieves the slee Address where events on this resource are fired.

Returns:

isEnding

public boolean isEnding()
In case the wrapper is an activity, it indicates if it is ending, otherwise it doesn't have a meaning.

Returns:

ending

public void ending()
Indicates this activity is ending.


getApplicationData

public java.lang.Object getApplicationData()
Operation forbidden in the sip interfaces implemented by concrete wrappers.

Returns:

setApplicationData

public void setApplicationData(java.lang.Object arg0)
Operation forbidden in the sip interfaces implemented by concrete wrappers.

Parameters:
arg0 -

clear

public void clear()


Copyright © 2012. All Rights Reserved.