source: ntrip/trunk/BNC/src/bncnetqueryudp0.h@ 7755

Last change on this file since 7755 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
RevLine 
[1779]1#ifndef BNCNETQUERYUDP0_H
2#define BNCNETQUERYUDP0_H
3
4#include "bncnetquery.h"
5
6class 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);
[6787]15 virtual void keepAliveRequest(const QUrl& url, const QByteArray& gga);
[1779]16 virtual void waitForReadyRead(QByteArray& outData);
17 private:
18 QUdpSocket* _udpSocket;
[1785]19 QEventLoop* _eventLoop;
[1779]20};
21
22#endif
Note: See TracBrowser for help on using the repository browser.