Last change
on this file since 7636 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:
564 bytes
|
Line | |
---|
1 | #ifndef BNCNETQUERYUDP0_H
|
---|
2 | #define BNCNETQUERYUDP0_H
|
---|
3 |
|
---|
4 | #include "bncnetquery.h"
|
---|
5 |
|
---|
6 | class bncNetQueryUdp0 : public bncNetQuery {
|
---|
7 | Q_OBJECT
|
---|
8 | public:
|
---|
9 | bncNetQueryUdp0();
|
---|
10 | virtual ~bncNetQueryUdp0();
|
---|
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 keepAliveRequest(const QUrl& url, const QByteArray& gga);
|
---|
16 | virtual void waitForReadyRead(QByteArray& outData);
|
---|
17 | private:
|
---|
18 | QUdpSocket* _udpSocket;
|
---|
19 | QEventLoop* _eventLoop;
|
---|
20 | };
|
---|
21 |
|
---|
22 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.