source: ntrip/trunk/BNC/src/bncnetquerys.h@ 8654

Last change on this file since 8654 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: 554 bytes
Line 
1#ifndef BNCSNETQUERYS_H
2#define BNCSNETQUERYS_H
3
4#include "bncnetquery.h"
5#include "serial/qextserialport.h"
6
7class bncNetQueryS : public bncNetQuery {
8 public:
9 bncNetQueryS();
10 virtual ~bncNetQueryS();
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
18 private:
19 QextSerialPort* _serialPort;
20};
21
22#endif
Note: See TracBrowser for help on using the repository browser.