class NaptrRecord

A NAPTR record. More...

Full nameTelEngine::NaptrRecord
Definition#include <yateclass.h>
InheritsTelEngine::DnsRecord [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Members


Detailed Description

This class holds a NAPTR (Naming Authority Pointer) record

 NaptrRecord (int ord, int pref, const char* flags, const char* serv, const char* regexp, const char* next)

NaptrRecord

Build a NAPTR record

Parameters:
ordRecord order
prefRecord preference
flagsInterpretation flags
servAvailable services
regexpSubstitution expression
nextNext name to query

bool  replace (String& str)

replace

Replace the enclosed template in a given string if matching the substitution expression

Parameters:
strString to replace

Returns: True on success

void  dump (String& buf, const char* sep = " ")

dump

[virtual]

Dump this record for debug purposes

Parameters:
bufDestination buffer
sepFields separator

Reimplemented from DnsRecord.

inline const String&  flags ()

flags

[const]

Retrieve record interpretation flags

Returns: Record interpretation flags

inline const String&  serv ()

serv

[const]

Retrieve available services

Returns: Available services

inline const String&  nextName ()

nextName

[const]

Retrieve the next domain name to query

Returns: The next domain to query

String m_flags

m_flags

[protected]

String m_service

m_service

[protected]

Regexp m_regmatch

m_regmatch

[protected]

String m_template

m_template

[protected]

String m_next

m_next

[protected]


Generated by: paulc on bussard on Fri Dec 21 16:28:34 2012, using kdoc 2.0a54.