Last change
on this file since 8109 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:
667 bytes
|
Line | |
---|
1 | #ifndef BNCNETQUERYRTP_H
|
---|
2 | #define BNCNETQUERYRTP_H
|
---|
3 |
|
---|
4 | #include "bncnetquery.h"
|
---|
5 |
|
---|
6 | class bncNetQueryRtp : public bncNetQuery {
|
---|
7 | Q_OBJECT
|
---|
8 | public:
|
---|
9 | bncNetQueryRtp();
|
---|
10 | virtual ~bncNetQueryRtp();
|
---|
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 slots:
|
---|
19 | void slotKeepAlive();
|
---|
20 |
|
---|
21 | private:
|
---|
22 | QTcpSocket* _socket;
|
---|
23 | QUdpSocket* _udpSocket;
|
---|
24 | QEventLoop* _eventLoop;
|
---|
25 | QByteArray _session;
|
---|
26 | int _CSeq;
|
---|
27 | };
|
---|
28 |
|
---|
29 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.