|
Yate
|
A SRV record. More...
#include <yateclass.h>
Public Member Functions | |
| SrvRecord (int prio, int weight, const char *addr, int port) | |
| const String & | address () const |
| int | port () const |
| virtual void | dump (String &buf, const char *sep=" ") |
Static Public Member Functions | |
| static void | copy (ObjList &dest, const ObjList &src) |
Protected Attributes | |
| String | m_address |
| int | m_port |
A SRV record.
This class holds a SRV (Service Location) record
| SrvRecord | ( | int | prio, |
| int | weight, | ||
| const char * | addr, | ||
| int | port | ||
| ) | [inline] |
Build a SRV record
| prio | Record priority (order) |
| weight | Record weight (preference) |
| addr | Record address |
| port | Record port |
Copy a SrvRecord list into another one
| dest | Destination list |
| src | Source list |
Dump this record for debug purposes
| buf | Destination buffer |
| sep | Fields separator |
Reimplemented from DnsRecord.
| int port | ( | ) | const [inline] |
Retrieve the record port
1.7.6.1