Last change
on this file since 7393 was 6787, checked in by stuerze, 10 years ago |
add keep-alive request to send gga message in ntrip version 1 mode without interruption
|
File size:
667 bytes
|
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);
|
---|
[6787] | 15 | virtual void keepAliveRequest(const QUrl& url, const QByteArray& gga);
|
---|
[1410] | 16 | virtual void waitForReadyRead(QByteArray& outData);
|
---|
| 17 |
|
---|
[1532] | 18 | private slots:
|
---|
| 19 | void slotKeepAlive();
|
---|
| 20 |
|
---|
[1410] | 21 | private:
|
---|
| 22 | QTcpSocket* _socket;
|
---|
[1413] | 23 | QUdpSocket* _udpSocket;
|
---|
[1415] | 24 | QEventLoop* _eventLoop;
|
---|
[1531] | 25 | QByteArray _session;
|
---|
| 26 | int _CSeq;
|
---|
[1410] | 27 | };
|
---|
| 28 |
|
---|
| 29 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.