Search in sources :

Example 1 with SbbLocalObjectExt

use of org.mobicents.slee.SbbLocalObjectExt in project charging-server by RestComm.

the class DiameterChargingServerSbb method getCDRGenerator.

protected CDRGenerator getCDRGenerator() throws IllegalArgumentException, NullPointerException, SLEEException, CreateException {
    ChildRelationExt cre = (ChildRelationExt) getCDRGeneratorChildRelation();
    SbbLocalObjectExt sbbLocalObject = cre.get(CDRGEN_CHILD_NAME);
    if (sbbLocalObject == null) {
        sbbLocalObject = cre.create(CDRGEN_CHILD_NAME);
    }
    return (CDRGenerator) sbbLocalObject;
}
Also used : CDRGenerator(org.mobicents.charging.server.cdr.CDRGenerator) ChildRelationExt(org.mobicents.slee.ChildRelationExt) SbbLocalObjectExt(org.mobicents.slee.SbbLocalObjectExt)

Example 2 with SbbLocalObjectExt

use of org.mobicents.slee.SbbLocalObjectExt in project charging-server by RestComm.

the class DiameterChargingServerSbb method getAccountManager.

protected AccountBalanceManagement getAccountManager() throws IllegalArgumentException, NullPointerException, SLEEException, CreateException {
    ChildRelationExt cre = (ChildRelationExt) getAccountBalanceManagementChildRelation();
    SbbLocalObjectExt sbbLocalObject = cre.get(ABMF_CHILD_NAME);
    if (sbbLocalObject == null) {
        sbbLocalObject = cre.create(ABMF_CHILD_NAME);
    }
    return (AccountBalanceManagement) sbbLocalObject;
}
Also used : AccountBalanceManagement(org.mobicents.charging.server.account.AccountBalanceManagement) ChildRelationExt(org.mobicents.slee.ChildRelationExt) SbbLocalObjectExt(org.mobicents.slee.SbbLocalObjectExt)

Example 3 with SbbLocalObjectExt

use of org.mobicents.slee.SbbLocalObjectExt in project charging-server by RestComm.

the class AccountBalanceManagementSbb method getDatasource.

protected DataSource getDatasource() throws IllegalArgumentException, NullPointerException, SLEEException, CreateException {
    ChildRelationExt cre = (ChildRelationExt) getDatasourceChildRelation();
    SbbLocalObjectExt sbbLocalObject = cre.get(DATASOURCE_CHILD_NAME);
    if (sbbLocalObject == null) {
        sbbLocalObject = cre.create(DATASOURCE_CHILD_NAME);
    }
    return (DataSource) sbbLocalObject;
}
Also used : ChildRelationExt(org.mobicents.slee.ChildRelationExt) SbbLocalObjectExt(org.mobicents.slee.SbbLocalObjectExt) DataSource(org.mobicents.charging.server.data.DataSource)

Example 4 with SbbLocalObjectExt

use of org.mobicents.slee.SbbLocalObjectExt in project charging-server by RestComm.

the class DiameterChargingServerSbb method getDatasource.

protected DataSource getDatasource() throws IllegalArgumentException, NullPointerException, SLEEException, CreateException {
    ChildRelationExt cre = (ChildRelationExt) getDatasourceChildRelation();
    SbbLocalObjectExt sbbLocalObject = cre.get(DATASOURCE_CHILD_NAME);
    if (sbbLocalObject == null) {
        sbbLocalObject = cre.create(DATASOURCE_CHILD_NAME);
    }
    return (DataSource) sbbLocalObject;
}
Also used : ChildRelationExt(org.mobicents.slee.ChildRelationExt) SbbLocalObjectExt(org.mobicents.slee.SbbLocalObjectExt) DataSource(org.mobicents.charging.server.data.DataSource)

Example 5 with SbbLocalObjectExt

use of org.mobicents.slee.SbbLocalObjectExt 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

ChildRelationExt (org.mobicents.slee.ChildRelationExt)5 SbbLocalObjectExt (org.mobicents.slee.SbbLocalObjectExt)5 DataSource (org.mobicents.charging.server.data.DataSource)2 AccountBalanceManagement (org.mobicents.charging.server.account.AccountBalanceManagement)1 CDRGenerator (org.mobicents.charging.server.cdr.CDRGenerator)1 RatingEngineClient (org.mobicents.charging.server.ratingengine.RatingEngineClient)1