EmergencyRulesUrlMapping Class Reference

#include <EmergencyRulesUrlMapping.h>

Inheritance diagram for EmergencyRulesUrlMapping:

UrlMapping

List of all members.


Detailed Description

This class interprets the rules encoded by the authrules XML schema, looking only at Emergency rules (see the description elements in the schema files for the structure and contents of the file):.


Public Member Functions

 EmergencyRulesUrlMapping ()
virtual ~EmergencyRulesUrlMapping ()
 destructor
virtual OsStatus loadMappings (const UtlString &configFileName, const UtlString &mediaserver="", const UtlString &voicemail="", const UtlString &localhost="")
 Read a mappings file into the XML DOM, providing translations for replacement tokens.
bool getMatchedRule (const Url &requestUri, UtlString &rNameStr, UtlString &rDescriptionStr) const
 Evaluate a request URI using emergencyrules semantics, and return rule details.

Constructor & Destructor Documentation

~EmergencyRulesUrlMapping (  )  [virtual]

destructor


Member Function Documentation

OsStatus loadMappings ( const UtlString configFileName,
const UtlString mediaserver = "",
const UtlString voicemail = "",
const UtlString localhost = "" 
) [virtual]

Read a mappings file into the XML DOM, providing translations for replacement tokens.

Reimplemented from UrlMapping.

bool getMatchedRule ( const Url requestUri,
UtlString rNameStr,
UtlString rDescriptionStr 
) const

Evaluate a request URI using emergencyrules semantics, and return rule details.

Parameters:
requestUri  target to check
rNameStr  name of the rule that matched
rDescriptionStr  description of the rule that matched


Online Library Docs

sipXecs home page

Version 4.2.1-018930 2010-07-31T01:13:23 build16 abuild