source: ntrip/trunk/BNC/bncnetqueryudp0.h@ 1779

Last change on this file since 1779 was 1779, checked in by mervart, 15 years ago

* empty log message *

File size: 636 bytes
Line 
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);
15 virtual void waitForReadyRead(QByteArray& outData);
16
17 private slots:
18 void slotKeepAlive();
19
20 private:
21 QUdpSocket* _udpSocket;
22 QEventLoop* _eventLoop;
23 QHostAddress _address;
24 int _port;
25 char _keepAlive[12];
26 int _session;
27};
28
29#endif
Note: See TracBrowser for help on using the repository browser.