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

Last change on this file since 3025 was 3025, checked in by mervart, 13 years ago
File size: 508 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 QString mountpoint() const {return _mountpoint;}
15
16 signals:
17 void newMessage(QByteArray msg, bool showOnScreen);
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.