Last change
on this file since 10519 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:
658 bytes
|
Rev | Line | |
---|
[1383] | 1 | #ifndef BNCNETQUERYV1_H
|
---|
| 2 | #define BNCNETQUERYV1_H
|
---|
[1382] | 3 |
|
---|
[1383] | 4 | #include "bncnetquery.h"
|
---|
[1382] | 5 |
|
---|
[1383] | 6 | class bncNetQueryV1 : public bncNetQuery {
|
---|
[1382] | 7 | public:
|
---|
[1383] | 8 | bncNetQueryV1();
|
---|
[1384] | 9 | virtual ~bncNetQueryV1();
|
---|
[1382] | 10 |
|
---|
[1390] | 11 | virtual void stop();
|
---|
[1384] | 12 | virtual void waitForRequestResult(const QUrl& url, QByteArray& outData);
|
---|
| 13 | virtual void startRequest(const QUrl& url, const QByteArray& gga);
|
---|
[6787] | 14 | virtual void keepAliveRequest(const QUrl& url, const QByteArray& gga);
|
---|
[1384] | 15 | virtual void waitForReadyRead(QByteArray& outData);
|
---|
[1382] | 16 |
|
---|
| 17 | private:
|
---|
[1848] | 18 | void startRequestPrivate(const QUrl& url, const QByteArray& gga,
|
---|
| 19 | bool sendRequestOnly);
|
---|
| 20 | QEventLoop* _eventLoop;
|
---|
[1384] | 21 | QTcpSocket* _socket;
|
---|
[1382] | 22 | };
|
---|
| 23 |
|
---|
| 24 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.