This rated party evaluator sets the resource key of RatedParty to the network address of the CDR's served party.
It is then up to the ResourceCache to determine the tariff system.
Definition at line 64 of file rpevalserved.h.
Constructor with object id and supported rated party type.
std::string OSB_LIB::RpeServedNwAddr::getParam | ( | int | index | ) | const [virtual] |
Get a configuration parameter of the evaluator.
index | Not used. |
Implements OSB_LIB::RatedPartyEval.
Result OSB_LIB::RpeServedNwAddr::getParty | ( | const Cdr & | cdr, | |
RatedParty * | rp, | |||
OsbError * | error | |||
) | const [virtual] |
Determine the rated party.
cdr | CDR to evaluate. | |
rp | Rated party to populate, see below. | |
error | Gets any evaluation error. |
Errors:
Implements OSB_LIB::RatedPartyEval.
int OSB_LIB::RpeServedNwAddr::numParam | ( | ) | const [virtual] |
bool OSB_LIB::RpeServedNwAddr::requiresCache | ( | ) | const [virtual] |
bool OSB_LIB::RpeServedNwAddr::setParam | ( | int | index, | |
const std::string & | param | |||
) | [virtual] |
Set a parameter for the evaluator.
index | Not used. | |
param | Not used. |
Implements OSB_LIB::RatedPartyEval.
Type OSB_LIB::RpeServedNwAddr::type | ( | ) | const [virtual] |
const Type OSB_LIB::RpeServedNwAddr::type_ [static, private] |