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;
}
Aggregations