| Yate
    | 
A SRV record. More...
#include <yateclass.h>
 
  
 | Public Member Functions | |
| SrvRecord (int ttl, int prio, int weight, const char *addr, int port) | |
| const String & | address () const | 
| int | port () const | 
| virtual void | dump (String &buf, const char *sep=" ") | 
|  Public Member Functions inherited from DnsRecord | |
| DnsRecord (int ttl, int order, int pref) | |
| DnsRecord () | |
| int | ttl () const | 
| int | order () const | 
| int | pref () const | 
|  Public Member Functions inherited from GenObject | |
| GenObject () | |
| virtual | ~GenObject () | 
| virtual bool | alive () const | 
| virtual void | destruct () | 
| virtual const String & | toString () const | 
| virtual void * | getObject (const String &name) const | 
| NamedCounter * | getObjCounter () const | 
| NamedCounter * | setObjCounter (NamedCounter *counter) | 
| Static Public Member Functions | |
| static void | copy (ObjList &dest, const ObjList &src) | 
|  Static Public Member Functions inherited from DnsRecord | |
| static bool | insert (ObjList &list, DnsRecord *rec, bool ascPref) | 
|  Static Public Member Functions inherited from GenObject | |
| static void * | getObject (const String &name, const GenObject *obj) | 
| static bool | getObjCounting () | 
| static void | setObjCounting (bool enable) | 
| static NamedCounter * | getObjCounter (const String &name, bool create=true) | 
| static ObjList & | getObjCounters () | 
| Protected Attributes | |
| String | m_address | 
| int | m_port | 
|  Protected Attributes inherited from DnsRecord | |
| int | m_ttl | 
| int | m_order | 
| int | m_pref | 
A SRV record.
This class holds a SRV (Service Location) record
| 
 | inline | 
Build a SRV record
| ttl | Record Time To Live | 
| prio | Record priority (order) | 
| weight | Record weight (preference) | 
| addr | Record address | 
| port | Record port | 
| 
 | inline | 
Retrieve the record address
Copy a SrvRecord list into another one
| dest | Destination list | 
| src | Source list | 
| 
 | virtual | 
Dump this record for debug purposes
| buf | Destination buffer | 
| sep | Fields separator | 
Reimplemented from DnsRecord.
| 
 | inline | 
Retrieve the record port
 1.8.8
 1.8.8