|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IpChargingManagerConnection
This interface is the 'service manager' interface for the Charging Service. The Charging manager interface provides management functions to the charging service. The application programmer can use this interface to start charging sessions. This interface shall be implemented by a Charging SCF. As a minimum requirement, at least one of createChargingSession() or createSplitChargingSession() shall be implemented.
| Method Summary | |
|---|---|
TpChargingSessionID |
createChargingSession(java.lang.String sessionDescription,
TpMerchantAccountID merchantAccount,
TpAddress user,
TpCorrelationID correlationID)
This method creates an instance of the IpChargingSession interface to handle the charging events related to the specified user and to the application invoking this method. |
TpChargingSessionID |
createSplitChargingSession(java.lang.String sessionDescription,
TpMerchantAccountID merchantAccount,
TpAddress[] users,
TpCorrelationID correlationID)
This method creates an instance of the IpChargingSession interface to handle the charging events related to the specified users and to the application invoking this method. |
IpChargingSessionConnection |
getIpChargingSessionConnection(TpChargingSessionID tpChargingSessionID)
Obtains Access To a IpChargingSessionConnection interface |
| Methods inherited from interface org.mobicents.csapi.jr.slee.IpServiceConnection |
|---|
closeConnection |
| Method Detail |
|---|
IpChargingSessionConnection getIpChargingSessionConnection(TpChargingSessionID tpChargingSessionID)
throws javax.slee.resource.ResourceException
ResourceException - If it is not possible to create the connection
TpChargingSessionID createChargingSession(java.lang.String sessionDescription,
TpMerchantAccountID merchantAccount,
TpAddress user,
TpCorrelationID correlationID)
throws TpCommonExceptions,
P_INVALID_USER,
P_INVALID_ACCOUNT,
javax.slee.resource.ResourceException
sessionDescription - Descriptive text for informational purposes.merchantAccount - Identifies the account of the party providing the application to be used.user - Specifies the user that is using the application. This may or may not be the user that will be charged. The Charging service will determine the charged user. When this method is invoked the Charging service shall determine if charging is allowed for this application for this subscriber. An exception shall be thrown if this type of charging is not allowed.correlationID - This value can be used to correlate the charging to network activity.
TpCommonExceptions
P_INVALID_USER
P_INVALID_ACCOUNT
javax.slee.resource.ResourceException
TpChargingSessionID createSplitChargingSession(java.lang.String sessionDescription,
TpMerchantAccountID merchantAccount,
TpAddress[] users,
TpCorrelationID correlationID)
throws TpCommonExceptions,
P_INVALID_USER,
P_INVALID_ACCOUNT,
javax.slee.resource.ResourceException
sessionDescription - Descriptive text for informational purposes.merchantAccount - Identifies the account of the party providing the application to be used.users - Specifies the users that are involved in using the application. This could be all users in a multi-party application (conference call, multi-user-game).correlationID - This value can be used to correlate the charging to network activity.
TpCommonExceptions
P_INVALID_USER
P_INVALID_ACCOUNT
javax.slee.resource.ResourceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||