#include <EmergencyRulesUrlMapping.h>

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. | |
| ~EmergencyRulesUrlMapping | ( | ) | [virtual] |
destructor
| 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.
| requestUri | target to check |
| rNameStr | name of the rule that matched |
| rDescriptionStr | description of the rule that matched |