Rev | Line | |
---|
[1410] | 1 | #ifndef BNCNETQUERYRTP_H
|
---|
| 2 | #define BNCNETQUERYRTP_H
|
---|
| 3 |
|
---|
| 4 | #include "bncnetquery.h"
|
---|
| 5 |
|
---|
| 6 | class bncNetQueryRtp : public bncNetQuery {
|
---|
[1532] | 7 | Q_OBJECT
|
---|
[1410] | 8 | public:
|
---|
| 9 | bncNetQueryRtp();
|
---|
| 10 | virtual ~bncNetQueryRtp();
|
---|
| 11 |
|
---|
| 12 | virtual void stop();
|
---|
| 13 | virtual void waitForRequestResult(const QUrl& url, QByteArray& outData);
|
---|
| 14 | virtual void startRequest(const QUrl& url, const QByteArray& gga);
|
---|
| 15 | virtual void waitForReadyRead(QByteArray& outData);
|
---|
| 16 |
|
---|
[1532] | 17 | private slots:
|
---|
| 18 | void slotKeepAlive();
|
---|
| 19 |
|
---|
[1410] | 20 | private:
|
---|
| 21 | QTcpSocket* _socket;
|
---|
[1413] | 22 | QUdpSocket* _udpSocket;
|
---|
[1415] | 23 | QEventLoop* _eventLoop;
|
---|
[1531] | 24 | QByteArray _session;
|
---|
| 25 | int _CSeq;
|
---|
[1410] | 26 | };
|
---|
| 27 |
|
---|
| 28 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.