|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.csapi.jr.slee.ResourceEvent
org.mobicents.csapi.jr.slee.cc.mpccs.ReportNotificationEvent
public class ReportNotificationEvent
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().
| 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 |
|---|
public ReportNotificationEvent(TpServiceIdentifier tpServiceIdentifier,
TpMultiPartyCallIdentifier callReference,
TpCallLegIdentifier[] tpCallLegIdentifier,
TpCallNotificationInfo notificationInfo,
int assignmentID)
tpServiceIdentifier - the service this event is related to| Method Detail |
|---|
public TpMultiPartyCallIdentifier getCallReference()
public TpCallLegIdentifier[] getTpCallLegIdentifier()
public TpCallNotificationInfo getNotificationInfo()
public int getAssignmentID()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||