The QXmppSrvRecord class represents a DNS SRV record.
More...
#include <QXmppSrvInfo.h>
List of all members.
Detailed Description
The QXmppSrvRecord class represents a DNS SRV record.
Constructor & Destructor Documentation
QXmppSrvRecord::QXmppSrvRecord |
( |
| ) |
|
Constructs an empty service record object.
Member Function Documentation
Assigns the data of the other object to this service record object, and returns a reference to it.
quint16 QXmppSrvRecord::port |
( |
| ) |
const |
Returns the port for this service record.
quint16 QXmppSrvRecord::priority |
( |
| ) |
const |
Returns the priority for this service record.
void QXmppSrvRecord::setPort |
( |
quint16 |
port | ) |
|
Sets the port for this service record.
- Parameters:
-
void QXmppSrvRecord::setPriority |
( |
quint16 |
priority | ) |
|
Sets the priority for this service record.
- Parameters:
-
void QXmppSrvRecord::setTarget |
( |
const QString & |
target | ) |
|
Sets the host name for this service record.
- Parameters:
-
void QXmppSrvRecord::setWeight |
( |
quint16 |
weight | ) |
|
Sets the weight for this service record.
- Parameters:
-
QString QXmppSrvRecord::target |
( |
| ) |
const |
Returns host name for this service record.
quint16 QXmppSrvRecord::weight |
( |
| ) |
const |
Returns the weight for this service record.
The documentation for this class was generated from the following files: