OSB_LIB::Asr Class Reference

Collaboration diagram for OSB_LIB::Asr:

Collaboration graph
[legend]
List of all members.

Detailed Description

Answer Success Ratio(ASR) for the given period.

Specifies the Answer success ratio of the network element for the given period.

ASR = Total number of successful calls / Total number of calls.

Definition at line 61 of file asrprocessor.h.

Public Member Functions

Read access to members.

Private Attributes

Asr attributes.

Friends


Constructor & Destructor Documentation

OSB_LIB::Asr::Asr (  ) 

Default constructor.

OSB_LIB::Asr::~Asr (  ) 

Destructor.


Member Function Documentation

Id2<NetworkElement> OSB_LIB::Asr::elementId (  )  const [inline]

Definition at line 82 of file asrprocessor.h.

References elementId_.

const DateTime& OSB_LIB::Asr::fromPeriod (  )  const [inline]

Definition at line 107 of file asrprocessor.h.

References fromPeriod_.

const std::string& OSB_LIB::Asr::inTrunkGroup (  )  const [inline]

Definition at line 87 of file asrprocessor.h.

References inTrunkGroup_.

const long OSB_LIB::Asr::inTrunkNo (  )  const [inline]

Definition at line 92 of file asrprocessor.h.

References inTrunkNo_.

const std::string& OSB_LIB::Asr::outTrunkGroup (  )  const [inline]

Definition at line 97 of file asrprocessor.h.

References outTrunkGroup_.

const long OSB_LIB::Asr::outTrunkNo (  )  const [inline]

Definition at line 102 of file asrprocessor.h.

References outTrunkNo_.

void OSB_LIB::Asr::save ( OSB_DB::Session session  ) 

Saves the Asr to the database.

If the Asr for the element with the period already exists Asr is updated, else new entry is inserted for this Asr period.

Parameters:
session Database session to use.

const long OSB_LIB::Asr::successCalls (  )  const [inline]

Definition at line 122 of file asrprocessor.h.

References successCalls_.

const DateTime& OSB_LIB::Asr::toPeriod (  )  const [inline]

Definition at line 112 of file asrprocessor.h.

References toPeriod_.

const long OSB_LIB::Asr::totalCalls (  )  const [inline]

Definition at line 117 of file asrprocessor.h.

References totalCalls_.


Friends And Related Function Documentation

friend class AsrProcessor [friend]

This will access all the private members.

Definition at line 63 of file asrprocessor.h.

friend class OSB_DB::AsrGw [friend]

Definition at line 64 of file asrprocessor.h.


Member Data Documentation

Id2<NetworkElement> OSB_LIB::Asr::elementId_ [private]

Definition at line 130 of file asrprocessor.h.

Referenced by elementId().

DateTime OSB_LIB::Asr::fromPeriod_ [private]

Outgoing trunk no.

Definition at line 135 of file asrprocessor.h.

Referenced by fromPeriod().

std::string OSB_LIB::Asr::inTrunkGroup_ [private]

Element Id.

Definition at line 131 of file asrprocessor.h.

Referenced by inTrunkGroup().

long OSB_LIB::Asr::inTrunkNo_ [private]

Incoming trunk group.

Definition at line 132 of file asrprocessor.h.

Referenced by inTrunkNo().

std::string OSB_LIB::Asr::outTrunkGroup_ [private]

Incoming trunk no.

Definition at line 133 of file asrprocessor.h.

Referenced by outTrunkGroup().

long OSB_LIB::Asr::outTrunkNo_ [private]

Outgoing trunk group.

Definition at line 134 of file asrprocessor.h.

Referenced by outTrunkNo().

long OSB_LIB::Asr::successCalls_ [private]

Total number of calls.

Definition at line 138 of file asrprocessor.h.

Referenced by successCalls().

DateTime OSB_LIB::Asr::toPeriod_ [private]

Starting period.

Definition at line 136 of file asrprocessor.h.

Referenced by toPeriod().

long OSB_LIB::Asr::totalCalls_ [private]

Ending period.

Definition at line 137 of file asrprocessor.h.

Referenced by totalCalls().


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