Line | |
---|
1 | #ifndef BNCNETQUERYUDP0_H
|
---|
2 | #define BNCNETQUERYUDP0_H
|
---|
3 |
|
---|
4 | #include "bncnetquery.h"
|
---|
5 |
|
---|
6 | class 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 | private:
|
---|
17 | QUdpSocket* _udpSocket;
|
---|
18 | QEventLoop* _eventLoop;
|
---|
19 | };
|
---|
20 |
|
---|
21 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.