OSB_LIB::RpeServedNwAddr Class Reference

Inheritance diagram for OSB_LIB::RpeServedNwAddr:

Inheritance graph
[legend]
Collaboration diagram for OSB_LIB::RpeServedNwAddr:

Collaboration graph
[legend]
List of all members.

Detailed Description

Rated party evaluator: served party network address.

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.

Public Member Functions

Static Private Attributes


Constructor & Destructor Documentation

OSB_LIB::RpeServedNwAddr::RpeServedNwAddr ( const Oid oid,
const RpType rpType 
)

Constructor with object id and supported rated party type.


Member Function Documentation

std::string OSB_LIB::RpeServedNwAddr::getParam ( int  index  )  const [virtual]

Get a configuration parameter of the evaluator.

Parameters:
index Not used.
Returns:
Always an empty string.

Implements OSB_LIB::RatedPartyEval.

Result OSB_LIB::RpeServedNwAddr::getParty ( const Cdr cdr,
RatedParty rp,
OsbError error 
) const [virtual]

Determine the rated party.

Parameters:
cdr CDR to evaluate.
rp Rated party to populate, see below.
error Gets any evaluation error.
Returns:
Always useCache.
Populates the resource key in rp as follows:

Errors:

Todo:
Mapping of numbering plan to resource type, see also the comment in the implementation.

Implements OSB_LIB::RatedPartyEval.

int OSB_LIB::RpeServedNwAddr::numParam (  )  const [virtual]

Configuration of evaluator possible? No.

Implements OSB_LIB::RatedPartyEval.

bool OSB_LIB::RpeServedNwAddr::requiresCache (  )  const [virtual]

Resource cache needed?

Returns:
Always true.

Implements OSB_LIB::RatedPartyEval.

bool OSB_LIB::RpeServedNwAddr::setParam ( int  index,
const std::string &  param 
) [virtual]

Set a parameter for the evaluator.

Parameters:
index Not used.
param Not used.
Returns:
Always false.

Implements OSB_LIB::RatedPartyEval.

Type OSB_LIB::RpeServedNwAddr::type (  )  const [virtual]

The type the rated party evaluator.

Implements OSB_LIB::RatedPartyEval.


Member Data Documentation

const Type OSB_LIB::RpeServedNwAddr::type_ [static, private]

The evaluator type: RpEvalType::rpeServedNwAddr.

Definition at line 66 of file rpevalserved.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:16:13 2006 for OSB Library by  doxygen 1.4.7