source: ntrip/trunk/BNC/combination/cmbcaster.h@ 2925

Last change on this file since 2925 was 2925, checked in by mervart, 13 years ago
File size: 480 bytes
Line 
1#ifndef CMBCASTER_H
2#define CMBCASTER_H
3
4#include <QtNetwork>
5
6class cmbCaster : public QObject {
7 Q_OBJECT
8 public:
9 cmbCaster();
10 ~cmbCaster();
11 void open();
12 void write(char* buffer, unsigned len);
13 bool usedSocket() const {return _outSocket;}
14
15 signals:
16 void error(const QByteArray msg);
17 void newMessage(const QByteArray msg);
18
19 private:
20 QString _mountpoint;
21 QTcpSocket* _outSocket;
22 int _sOpenTrial;
23 QDateTime _outSocketOpenTime;
24};
25
26#endif
Note: See TracBrowser for help on using the repository browser.