man Audit () - The audit class is associated with the 'audit' dso object which is used to distribute audit reports. Bayonne audit logging interface.

NAME

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

SYNOPSIS



#include <bayonne.h>

Protected Member Functions

virtual void reportAudit (Trunk *trunk, char *detail)=0

Post an audit record detail line as built by 'audit'. virtual void reportCDR (Trunk *trunk, char *detail)

Post a cdr line as built by 'cdr'. virtual void reportStats (void)

Proccess current call stats, invoked by scheduler. TrunkGroup * getFirst (void)

A quick access to the trunk group members. TrunkGroup * getNext (TrunkGroup *grp)

A quick access to the next trunk group member. Audit ()

Constructor protected for abstract class.

Static Protected Attributes

Auditdata keys

Friends

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

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.

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'.

Parameters: detail line.

virtual void Audit::reportStats (void) [inline, protected, virtual]

Proccess current call stats, invoked by scheduler.

Author

Generated automatically by Doxygen for Bayonne from the source code.