diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2015-08-24 13:26:16 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2015-08-24 13:43:26 +0200 |
| commit | e8e29c75a95dcefe2df112e516caf9a48e5a2f35 (patch) | |
| tree | a7e4de7a9409cea41c9bf9a3d4a8d0326ea3f301 /src/base/QXmppStun.h | |
| parent | 8475b6a9ca7c54c7e38880c3be0f5340463af266 (diff) | |
| download | qxmpp-e8e29c75a95dcefe2df112e516caf9a48e5a2f35.tar.gz | |
hide QXmppIceComponent private members
Diffstat (limited to 'src/base/QXmppStun.h')
| -rw-r--r-- | src/base/QXmppStun.h | 34 |
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; }; |
