|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IpMultiPartyCallControlManagerConnection
This interface is the 'service manager' interface for the Multi-party Call Control Service. The multi-party call control manager interface provides the management functions to the multi-party call control service. The application programmer can use this interface to provide overload control functionality, create call objects and to enable or disable call-related event notifications. The action table associated with the STD shows in what state the IpMultiPartyCallControlManager must be if a method can successfully complete. In other words, if the IpMultiPartyCallControlManager is in another state the method will throw an exception immediately. This interface shall be implemented by a Multi Party Call Control SCF. As a minimum requirement either the createCall() method shall be implemented, or the createNotification() and destroyNotification() methods shall be implemented, or the enableNotifications() and disableNotifications() methods shall be implemented.
| Method Summary | |
|---|---|
void |
changeNotification(int assignmentID,
TpCallNotificationRequest notificationRequest)
This method is used by the application to change the event criteria introduced with createNotification. |
TpMultiPartyCallIdentifier |
createCall()
This method is used to create a new call object. |
int |
createNotification(TpCallNotificationRequest notificationRequest)
This method is used to enable call notifications so that events can be sent to the application. |
void |
destroyNotification(int assignmentID)
This method is used by the application to disable call notifications. |
void |
disableNotifications()
This method is used to indicate that the application is not able to receive notifications for which the provisioning has been done from within the network. |
int |
enableNotifications()
This method is used to indicate that the application is able to receive notifications which are provisioned from within the network (i.e. |
IpMultiPartyCallConnection |
getIpMultiPartyCallConnection(TpMultiPartyCallIdentifier multiPartyCallIdentifier)
Obtains Access To a IpMultiPartyCallConnection interface |
TpNotificationRequestedSetEntry |
getNextNotification(boolean reset)
This method is used by the application to query the event criteria set with createNotification or changeNotification. |
TpNotificationRequested[] |
getNotification()
Deprecated. This method is deprecated and replaced by getNextNotification(). It will be removed in a later release. This method is used by the application to query the event criteria set with createNotification or changeNotification. |
int |
setCallLoadControl(int duration,
TpCallLoadControlMechanism mechanism,
TpCallTreatment treatment,
TpAddressRange addressRange)
This method imposes or removes load control on calls made to a particular address range within the call control service. |
| Methods inherited from interface org.mobicents.csapi.jr.slee.IpServiceConnection |
|---|
closeConnection |
| Method Detail |
|---|
IpMultiPartyCallConnection getIpMultiPartyCallConnection(TpMultiPartyCallIdentifier multiPartyCallIdentifier)
throws javax.slee.resource.ResourceException
ResourceException - If it is not possible to create the connection
TpMultiPartyCallIdentifier createCall()
throws TpCommonExceptions,
javax.slee.resource.ResourceException
TpCommonExceptions
javax.slee.resource.ResourceException
int createNotification(TpCallNotificationRequest notificationRequest)
throws TpCommonExceptions,
P_INVALID_CRITERIA,
P_INVALID_EVENT_TYPE,
javax.slee.resource.ResourceException
notificationRequest - Specifies the event specific criteria used by the application to define the event required. Only events that meet these criteria are reported. Examples of events are "incoming call attempt reported by network", "answer", "no answer", "busy". Individual addresses or address ranges may be specified for destination and/or origination.
TpCommonExceptions
P_INVALID_CRITERIA
P_INVALID_EVENT_TYPE
javax.slee.resource.ResourceException
void destroyNotification(int assignmentID)
throws TpCommonExceptions,
P_INVALID_ASSIGNMENT_ID,
javax.slee.resource.ResourceException
assignmentID - Specifies the assignment ID given by the multi party call control manager interface when the previous createNotification() was called. If the assignment ID does not correspond to one of the valid assignment IDs, the exception P_INVALID_ASSIGNMENTID will be raised. If two callbacks have been registered under this assignment ID both of them will be disabled.
TpCommonExceptions
P_INVALID_ASSIGNMENT_ID
javax.slee.resource.ResourceException
void changeNotification(int assignmentID,
TpCallNotificationRequest notificationRequest)
throws TpCommonExceptions,
P_INVALID_ASSIGNMENT_ID,
P_INVALID_CRITERIA,
P_INVALID_EVENT_TYPE,
javax.slee.resource.ResourceException
assignmentID - Specifies the ID assigned by the multi party call control manager interface for the event notification. If two callbacks have been registered under this assignment ID both of them will be changed.notificationRequest - Specifies the new set of event specific criteria used by the application to define the event required. Only events that meet these criteria are reported.
TpCommonExceptions
P_INVALID_ASSIGNMENT_ID
P_INVALID_CRITERIA
P_INVALID_EVENT_TYPE
javax.slee.resource.ResourceException
TpNotificationRequested[] getNotification()
throws TpCommonExceptions,
javax.slee.resource.ResourceException
TpCommonExceptions
javax.slee.resource.ResourceException
int setCallLoadControl(int duration,
TpCallLoadControlMechanism mechanism,
TpCallTreatment treatment,
TpAddressRange addressRange)
throws TpCommonExceptions,
P_INVALID_ADDRESS,
P_UNSUPPORTED_ADDRESS_PLAN,
javax.slee.resource.ResourceException
duration - Specifies the duration for which the load control should be set.
A duration of 0 indicates that the load control should be removed.
A duration of -1 indicates an infinite duration (i.e., until disabled by the application)
A duration of -2 indicates the network default duration.mechanism - Specifies the load control mechanism to use (for example, admit one call per interval), and any necessary parameters, such as the call admission rate. The contents of this parameter are ignored if the load control duration is set to zero.treatment - Specifies the treatment of calls that are not admitted. The contents of this parameter are ignored if the load control duration is set to zero.addressRange - Specifies the address or address range to which the overload control should be applied or removed.
TpCommonExceptions
P_INVALID_ADDRESS
P_UNSUPPORTED_ADDRESS_PLAN
javax.slee.resource.ResourceException
int enableNotifications()
throws TpCommonExceptions,
javax.slee.resource.ResourceException
TpCommonExceptions
javax.slee.resource.ResourceException
void disableNotifications()
throws TpCommonExceptions,
javax.slee.resource.ResourceException
TpCommonExceptions
javax.slee.resource.ResourceException
TpNotificationRequestedSetEntry getNextNotification(boolean reset)
throws TpCommonExceptions,
javax.slee.resource.ResourceException
reset - TRUE: indicates that the application is intended to obtain the set of notifications starting at the beginning.
FALSE: indicates that the application requests the next set of notifications that have not (yet) been obtained since the last call to this method with this parameter set to TRUE.
The first time this method is invoked, reset shall be set to TRUE. Following the receipt of a final indication in TpNotificationRequestedSetEntry, for the next call to this method reset shall be set to TRUE. P_TASK_REFUSED may be thrown if these conditions are not met.
TpCommonExceptions
javax.slee.resource.ResourceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||