org.mobicents.slee.resource.sip11
Class EventIDCache

java.lang.Object
  extended by org.mobicents.slee.resource.sip11.EventIDCache

public class EventIDCache
extends java.lang.Object

Caches event IDs for the SIP RA.

Author:
martins

Constructor Summary
EventIDCache()
           
 
Method Summary
 javax.slee.resource.FireableEventType getDialogForkEventId(javax.slee.facilities.EventLookupFacility eventLookupFacility)
          Retrieves the event id for a DialogForkedEvent.
 javax.slee.resource.FireableEventType getDialogTimeoutEventId(javax.slee.facilities.EventLookupFacility eventLookupFacility)
          Retrieves the event id for a DialogTimeoutEvent.
 javax.slee.resource.FireableEventType getEventId(javax.slee.facilities.EventLookupFacility eventLookupFacility, javax.sip.message.Request request, boolean inDialogActivity)
          Retrieves the event id for a SIP Request event.
 javax.slee.resource.FireableEventType getEventId(javax.slee.facilities.EventLookupFacility eventLookupFacility, javax.sip.message.Response response)
          Retrieves the event id for a SIP Response event.
 javax.slee.resource.FireableEventType getTransactionTimeoutEventId(javax.slee.facilities.EventLookupFacility eventLookupFacility, boolean inDialog)
          Retrieves the event id for a TimeoutEvent in a SIP Transaction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventIDCache

public EventIDCache()
Method Detail

getEventId

public javax.slee.resource.FireableEventType getEventId(javax.slee.facilities.EventLookupFacility eventLookupFacility,
                                                        javax.sip.message.Request request,
                                                        boolean inDialogActivity)
Retrieves the event id for a SIP Request event.

Parameters:
eventLookupFacility -
request -
inDialogActivity - if the event occurred in a dialog activity or not
Returns:

getEventId

public javax.slee.resource.FireableEventType getEventId(javax.slee.facilities.EventLookupFacility eventLookupFacility,
                                                        javax.sip.message.Response response)
Retrieves the event id for a SIP Response event.

Parameters:
eventLookupFacility -
response -
Returns:

getTransactionTimeoutEventId

public javax.slee.resource.FireableEventType getTransactionTimeoutEventId(javax.slee.facilities.EventLookupFacility eventLookupFacility,
                                                                          boolean inDialog)
Retrieves the event id for a TimeoutEvent in a SIP Transaction.

Parameters:
eventLookupFacility -
Returns:

getDialogTimeoutEventId

public javax.slee.resource.FireableEventType getDialogTimeoutEventId(javax.slee.facilities.EventLookupFacility eventLookupFacility)
Retrieves the event id for a DialogTimeoutEvent.

Parameters:
eventLookupFacility -
Returns:

getDialogForkEventId

public javax.slee.resource.FireableEventType getDialogForkEventId(javax.slee.facilities.EventLookupFacility eventLookupFacility)
Retrieves the event id for a DialogForkedEvent.

Parameters:
eventLookupFacility -
Returns:


Copyright © 2012. All Rights Reserved.