source:
ntrip/branches/BNC_2.13.beta/src/bncnetqueryv1.h@
10252
| Last change on this file since 10252 was 6787, checked in by , 11 years ago | |
|---|---|
| File size: 658 bytes | |
| Line | |
|---|---|
| 1 | #ifndef BNCNETQUERYV1_H |
| 2 | #define BNCNETQUERYV1_H |
| 3 | |
| 4 | #include "bncnetquery.h" |
| 5 | |
| 6 | class bncNetQueryV1 : public bncNetQuery { |
| 7 | public: |
| 8 | bncNetQueryV1(); |
| 9 | virtual ~bncNetQueryV1(); |
| 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 | void startRequestPrivate(const QUrl& url, const QByteArray& gga, |
| 19 | bool sendRequestOnly); |
| 20 | QEventLoop* _eventLoop; |
| 21 | QTcpSocket* _socket; |
| 22 | }; |
| 23 | |
| 24 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
