Search in sources :

Example 1 with CDRGenerator

use of org.mobicents.charging.server.cdr.CDRGenerator 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)

Aggregations

CDRGenerator (org.mobicents.charging.server.cdr.CDRGenerator)1 ChildRelationExt (org.mobicents.slee.ChildRelationExt)1 SbbLocalObjectExt (org.mobicents.slee.SbbLocalObjectExt)1