aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppStun.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/QXmppStun.h')
-rw-r--r--src/base/QXmppStun.h34
1 files changed, 2 insertions, 32 deletions
diff --git a/src/base/QXmppStun.h b/src/base/QXmppStun.h
index e71e34ff..6505bb4b 100644
--- a/src/base/QXmppStun.h
+++ b/src/base/QXmppStun.h
@@ -314,6 +314,8 @@ private slots:
void handleDatagram(const QByteArray &datagram, const QHostAddress &host, quint16 port, QUdpSocket *socket = 0);
void readyRead();
void turnConnected();
+ void transactionFinished();
+ void writeStun(const QXmppStunMessage &request);
signals:
/// \brief This signal is emitted once ICE negotiation succeeds.
@@ -325,42 +327,10 @@ signals:
/// \brief This signal is emitted when the list of local candidates changes.
void localCandidatesChanged();
-private slots:
- void transactionFinished();
- void writeStun(const QXmppStunMessage &request);
-
private:
CandidatePair *addRemoteCandidate(QUdpSocket *socket, const QHostAddress &host, quint16 port, quint32 priority);
qint64 writeStun(const QXmppStunMessage &message, CandidatePair *pair);
- int m_component;
-
- QList<QXmppJingleCandidate> m_localCandidates;
- QString m_localUser;
- QString m_localPassword;
- QByteArray m_tieBreaker;
-
- CandidatePair *m_activePair;
- CandidatePair *m_fallbackPair;
- bool m_iceControlling;
- quint32 m_peerReflexivePriority;
- QString m_remoteUser;
- QString m_remotePassword;
-
- QList<QUdpSocket*> m_sockets;
- QTimer *m_timer;
-
- // STUN server
- QByteArray m_stunId;
- QHostAddress m_stunHost;
- quint16 m_stunPort;
- QTimer *m_stunTimer;
- int m_stunTries;
-
- // TURN server
- QXmppTurnAllocation *m_turnAllocation;
- bool m_turnConfigured;
-
QXmppIceComponentPrivate *d;
};