source: ntrip/trunk/BNC/src/bncnetqueryv0.h@ 8541

Last change on this file since 8541 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: 514 bytes
Line 
1#ifndef BNCNETQUERYV0_H
2#define BNCNETQUERYV0_H
3
4#include "bncnetquery.h"
5
6class bncNetQueryV0 : public bncNetQuery {
7 public:
8 bncNetQueryV0();
9 virtual ~bncNetQueryV0();
10
11 virtual void stop();
12 virtual void waitForRequestResult(const QUrl& url, QByteArray& outData);
13 virtual void startRequest(const QUrl& url, const QByteArray& gga);
14 virtual void keepAliveRequest(const QUrl& url, const QByteArray& gga);
15 virtual void waitForReadyRead(QByteArray& outData);
16
17 private:
18 QTcpSocket* _socket;
19};
20
21#endif
Note: See TracBrowser for help on using the repository browser.