Line | |
---|
1 | #ifndef BNCNETQUERYRTP_H
|
---|
2 | #define BNCNETQUERYRTP_H
|
---|
3 |
|
---|
4 | #include "bncnetquery.h"
|
---|
5 |
|
---|
6 | class bncNetQueryRtp : public bncNetQuery {
|
---|
7 | Q_OBJECT
|
---|
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 |
|
---|
17 | private slots:
|
---|
18 | void slotKeepAlive();
|
---|
19 |
|
---|
20 | private:
|
---|
21 | QTcpSocket* _socket;
|
---|
22 | QUdpSocket* _udpSocket;
|
---|
23 | QEventLoop* _eventLoop;
|
---|
24 | QByteArray _session;
|
---|
25 | int _CSeq;
|
---|
26 | };
|
---|
27 |
|
---|
28 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.