QXmppJingleCandidate Class Reference
The QXmppJingleCandidate class represents a transport candidate as specified by XEP-0176: Jingle ICE-UDP Transport Method.
More...
#include <QXmppJingleIq.h>
List of all members.
Detailed Description
The QXmppJingleCandidate class represents a transport candidate as specified by XEP-0176: Jingle ICE-UDP Transport Method.
Member Function Documentation
QHostAddress QXmppJingleCandidate::host |
( |
|
) |
const |
Returns the candidate's host address.
QString QXmppJingleCandidate::id |
( |
|
) |
const |
Returns the candidate's unique identifier.
bool QXmppJingleCandidate::isNull |
( |
|
) |
const |
Returns true if the host address or port are empty.
int QXmppJingleCandidate::network |
( |
|
) |
const |
Returns the network index (starting at 0) the candidate is on.
quint16 QXmppJingleCandidate::port |
( |
|
) |
const |
Returns the candidate's port number.
int QXmppJingleCandidate::priority |
( |
|
) |
const |
Returns the candidate's priority.
QString QXmppJingleCandidate::protocol |
( |
|
) |
const |
Returns the candidate's protocol (e.g. "udp").
void QXmppJingleCandidate::setComponent |
( |
int |
component |
) |
|
Sets the candidates's component ID.
- Parameters:
-
void QXmppJingleCandidate::setFoundation |
( |
int |
foundation |
) |
|
Sets the candidate's foundation.
- Parameters:
-
void QXmppJingleCandidate::setHost |
( |
const QHostAddress & |
host |
) |
|
Sets the candidate's host address.
- Parameters:
-
void QXmppJingleCandidate::setId |
( |
const QString & |
id |
) |
|
Sets the candidate's unique identifier.
- Parameters:
-
void QXmppJingleCandidate::setNetwork |
( |
int |
network |
) |
|
Sets the network index (starting at 0) the candidate is on.
- Parameters:
-
void QXmppJingleCandidate::setPort |
( |
quint16 |
port |
) |
|
Sets the candidate's port number.
- Parameters:
-
void QXmppJingleCandidate::setPriority |
( |
int |
priority |
) |
|
Sets the candidate's priority.
- Parameters:
-
void QXmppJingleCandidate::setProtocol |
( |
const QString & |
protocol |
) |
|
Sets the candidate's protocol (e.g. "udp").
- Parameters:
-
void QXmppJingleCandidate::setType |
( |
const QString & |
type |
) |
|
Sets the candidate type (e.g. "host").
- Parameters:
-
QString QXmppJingleCandidate::type |
( |
|
) |
const |
Returns the candidate type (e.g. "host").
The documentation for this class was generated from the following files: