source: ntrip/trunk/BNS/bns.h@ 769

Last change on this file since 769 was 769, checked in by mervart, 16 years ago

* empty log message *

File size: 574 bytes
Line 
1#ifndef BNS_H
2#define BNS_H
3
4#include <QtNetwork>
5#include <QThread>
6
7#include "bnseph.h"
8
9class t_bns : public QThread {
10 Q_OBJECT
11 public:
12 t_bns(QObject* parent = 0);
13 virtual ~t_bns();
14 virtual void run();
15
16 signals:
17 void newMessage(const QByteArray msg);
18 void error(const QByteArray msg);
19
20 private slots:
21 void slotNewConnection();
22 void slotMessage(const QByteArray msg);
23 void slotError(const QByteArray msg);
24
25 private:
26 void deleteBnsEph();
27 QTcpServer* _clkServer;
28 QTcpSocket* _clkSocket;
29 t_bnseph* _bnseph;
30 QMutex _mutex;
31};
32#endif
Note: See TracBrowser for help on using the repository browser.