Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Audit Class Reference

The audit class is associated with the "audit" dso object which is used to distribute audit reports. Bayonne audit logging interface. More...

#include <bayonne.h>

Inheritance diagram for Audit::

Mutex List of all members.

Protected Methods

virtual void ReportAudit (Trunk *trunk, char *detail)=0
 Post an audit record detail line as built by "audit". More...

virtual void ReportCDR (Trunk *trunk, char *detail)
 Post a cdr line as built by "cdr". More...

virtual void ReportStats (void)
 Proccess current call stats, invoked by scheduler. More...

TrunkGroupgetFirst (void)
 A quick access to the trunk group members. More...

TrunkGroupgetNext (TrunkGroup *grp)
 A quick access to the next trunk group member. More...

 Audit ()
 Constructor protected for abstract class. More...


Static Protected Attributes

Auditdata keys

Friends

class Scheduler
void audit (Trunk *trunk, char *detail)
void alog (Trunk *trunk, char *detail)

Detailed Description

The audit class is associated with the "audit" dso object which is used to distribute audit reports. Bayonne audit logging interface.

Audit reports can include call detail information as a call "terminates", and also "alog" commands. These are handled by a DSO so that alternate processing can be supplied, such as seperate threads or even broadcast to an audit "server" as may be needed by very high port capacity systems. The default dso simply appends to an audit file. In fact, multiple audit dso's can be "stacked".

Author:
David Sugar <dyfet@ostel.com>


Constructor & Destructor Documentation

Audit::Audit   [protected]
 

Constructor protected for abstract class.


Member Function Documentation

virtual void Audit::ReportAudit Trunk *   trunk,
char *   detail
[protected, pure virtual]
 

Post an audit record detail line as built by "audit".

Parameters:
detail   line.

virtual void Audit::ReportCDR Trunk *   trunk,
char *   detail
[inline, protected, virtual]
 

Post a cdr line as built by "cdr".

@oaram detail line.

virtual void Audit::ReportStats void   [inline, protected, virtual]
 

Proccess current call stats, invoked by scheduler.

TrunkGroup* Audit::getFirst void   [inline, protected]
 

A quick access to the trunk group members.

Returns:
trunkgroup first.

TrunkGroup* Audit::getNext TrunkGroup *   grp [inline, protected]
 

A quick access to the next trunk group member.

Returns:
trunkgroup next.
Parameters:
trunk   group.


Friends And Related Function Documentation

friend class Scheduler [friend]
 

void alog Trunk *   trunk,
char *   detail
[friend]
 

void audit Trunk *   trunk,
char *   detail
[friend]
 


Member Data Documentation

Auditdata Audit::keys [static, protected]
 


The documentation for this class was generated from the following file:
Generated at Wed Nov 21 12:17:03 2001 for Bayonne by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001