Search in sources :

Example 1 with RatingEngineClient

use of org.mobicents.charging.server.ratingengine.RatingEngineClient in project charging-server by RestComm.

the class DiameterChargingServerSbb method getRatingEngineManager.

protected RatingEngineClient getRatingEngineManager() throws IllegalArgumentException, NullPointerException, SLEEException, CreateException {
    ChildRelationExt cre = (ChildRelationExt) getRatingEngineChildRelation();
    SbbLocalObjectExt sbbLocalObject = cre.get(RATING_CHILD_NAME);
    if (sbbLocalObject == null) {
        sbbLocalObject = cre.create(RATING_CHILD_NAME);
    }
    return (RatingEngineClient) sbbLocalObject;
}
Also used : ChildRelationExt(org.mobicents.slee.ChildRelationExt) SbbLocalObjectExt(org.mobicents.slee.SbbLocalObjectExt) RatingEngineClient(org.mobicents.charging.server.ratingengine.RatingEngineClient)

Aggregations

RatingEngineClient (org.mobicents.charging.server.ratingengine.RatingEngineClient)1 ChildRelationExt (org.mobicents.slee.ChildRelationExt)1 SbbLocalObjectExt (org.mobicents.slee.SbbLocalObjectExt)1