|
|
This class holds a DNS (resolver) record
| inline DnsRecord (int ttl, int order, int pref)
| DnsRecord |
Build a DNS record
Parameters:
| ttl | Record Time To Live |
| order | Record order (priority) |
| pref | Record preference |
| inline DnsRecord ()
| DnsRecord |
Default constructor
| inline int ttl ()
| ttl |
[const]
Retrieve the Time To Live
Returns: Record TTL
| inline int order ()
| order |
[const]
Retrieve the record order
Returns: Record order
| inline int pref ()
| pref |
[const]
Retrieve the record preference
Returns: Record preference
| void dump (String& buf, const char* sep = " ")
| dump |
[virtual]
Dump a record for debug purposes
Parameters:
| buf | Destination buffer |
| sep | Fields separator |
| bool insert (ObjList& list, DnsRecord* rec, bool ascPref)
| insert |
[static]
Insert a DnsRecord into a list in the proper location given by order and preference
Parameters:
| list | Destination list |
| rec | The item to insert |
| ascPref | Order preference ascending |
Returns: True on success, false on failure (already in the list)
| int m_ttl | m_ttl |
[protected]
| int m_order | m_order |
[protected]
| int m_pref | m_pref |
[protected]
| Generated by: paulc on bussard on Fri May 8 12:37:22 2015, using kdoc 2.0a54. |