org.mobicents.csapi.jr.slee.cc.mpccs
Class ReportNotificationEvent

java.lang.Object
  extended by org.mobicents.csapi.jr.slee.ResourceEvent
      extended by org.mobicents.csapi.jr.slee.cc.mpccs.ReportNotificationEvent
All Implemented Interfaces:
java.io.Serializable

public class ReportNotificationEvent
extends ResourceEvent

This event notifies the application of the arrival of a call-related event. If this method is invoked with a monitor mode of P_CALL_MONITOR_MODE_INTERRUPT, then the APL has control of the call. If the APL does nothing with the call (including its associated legs) within a specified time period (the duration of which forms a part of the service level agreement), then the call in the network shall be released and callEnded() shall be invoked, giving a release cause of P_TIMER_EXPIRY. Setting the callback reference: A reference to the application interface has to be passed back to the call interface to which the notification relates. However, the setting of a call back reference is only applicable if the notification is in INTERRUPT mode. The call back reference can be registered either a) in reportNotification() or b) explicitly with a setCallbackWithSessionID() method depending on how the application provides its callback reference. Case a: From an efficiency point of view the reportNotification() with explicit pass of registration may be the preferred method, Case b:: The reportNotification() with no callback reference ("Null" value) is used where (e.g. due to distributed application logic) the call back reference is provided subsequently in a setCallbackWithSessionID(). In case reportNotification() contains no callback, at the moment the application needs to be informed the gateway will use as callback the callback that has been registered by setCallbackWithSessionID().

See Also:
Serialized Form

Constructor Summary
ReportNotificationEvent(TpServiceIdentifier tpServiceIdentifier, TpMultiPartyCallIdentifier callReference, TpCallLegIdentifier[] tpCallLegIdentifier, TpCallNotificationInfo notificationInfo, int assignmentID)
          Constructor for ReportNotificationEvent
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 int getAssignmentID()
          Returns the assignmentID
 TpMultiPartyCallIdentifier getCallReference()
          Returns the callReference
 TpCallNotificationInfo getNotificationInfo()
          Returns the notificationInfo
 TpCallLegIdentifier[] getTpCallLegIdentifier()
          Returns the tpCallLegIdentifier
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class org.mobicents.csapi.jr.slee.ResourceEvent
getService
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportNotificationEvent

public ReportNotificationEvent(TpServiceIdentifier tpServiceIdentifier,
                               TpMultiPartyCallIdentifier callReference,
                               TpCallLegIdentifier[] tpCallLegIdentifier,
                               TpCallNotificationInfo notificationInfo,
                               int assignmentID)
Constructor for ReportNotificationEvent

Parameters:
tpServiceIdentifier - the service this event is related to
Method Detail

getCallReference

public TpMultiPartyCallIdentifier getCallReference()
Returns the callReference


getTpCallLegIdentifier

public TpCallLegIdentifier[] getTpCallLegIdentifier()
Returns the tpCallLegIdentifier


getNotificationInfo

public TpCallNotificationInfo getNotificationInfo()
Returns the notificationInfo


getAssignmentID

public int getAssignmentID()
Returns the assignmentID


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object


Copyright © 2009. All Rights Reserved.