|
||||||||||
| 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.gccs.CallEventNotifyEvent
public class CallEventNotifyEvent
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 102 (Recovery on 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. When the callEventNotify() method is invoked with a monitor mode of P_CALL_MONITOR_MODE_INTERRUPT, the application writer should ensure that no continue processing e.g. routeReq() is performed until an IpAppCall has been passed to the gateway, either through an explicit setCallbackWithSessionID() invocation on the supplied IpCall, or via the return of the callEventNotify() method. The callback reference can be registered either in a) callEventNotify() or b) explicitly with a setCallbackWithSessionID() method e.g. depending on how the application provides its call reference. Case a: From an efficiency point of view the callEventNotify() with explicit pass of registration may be the preferred method. Case b:: The callEventNotify with no callback reference ("Null" value) is used where (e.g. due to distributed application logic) the callback reference is provided subsequently in a setCallbackWithSessionID(). In case the callEventNotify() 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 example in 4.6.
| Constructor Summary | |
|---|---|
CallEventNotifyEvent(TpServiceIdentifier tpServiceIdentifier,
TpCallIdentifier callReference,
TpCallEventInfo eventInfo,
int assignmentID)
Constructor for CallEventNotifyEvent |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one. |
int |
getAssignmentID()
Returns the assignmentID |
TpCallIdentifier |
getCallReference()
Returns the callReference |
TpCallEventInfo |
getEventInfo()
Returns the eventInfo |
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 CallEventNotifyEvent(TpServiceIdentifier tpServiceIdentifier,
TpCallIdentifier callReference,
TpCallEventInfo eventInfo,
int assignmentID)
tpServiceIdentifier - the service this event is related to| Method Detail |
|---|
public TpCallIdentifier getCallReference()
public TpCallEventInfo getEventInfo()
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 | |||||||||