source: ntrip/trunk/BNC/src/bncnetqueryrtp.h@ 10573

Last change on this file since 10573 was 8252, checked in by stoecker, 7 years ago

see #105 - reenable Qt4 build options, drop generic version dependend includes, replace by direct requirements, remaining QtCore lines should also be replaced

File size: 690 bytes
Line 
1#ifndef BNCNETQUERYRTP_H
2#define BNCNETQUERYRTP_H
3
4#include <QUdpSocket>
5
6#include "bncnetquery.h"
7
8class bncNetQueryRtp : public bncNetQuery {
9 Q_OBJECT
10 public:
11 bncNetQueryRtp();
12 virtual ~bncNetQueryRtp();
13
14 virtual void stop();
15 virtual void waitForRequestResult(const QUrl& url, QByteArray& outData);
16 virtual void startRequest(const QUrl& url, const QByteArray& gga);
17 virtual void keepAliveRequest(const QUrl& url, const QByteArray& gga);
18 virtual void waitForReadyRead(QByteArray& outData);
19
20 private slots:
21 void slotKeepAlive();
22
23 private:
24 QTcpSocket* _socket;
25 QUdpSocket* _udpSocket;
26 QEventLoop* _eventLoop;
27 QByteArray _session;
28 int _CSeq;
29};
30
31#endif
Note: See TracBrowser for help on using the repository browser.