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

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

* empty log message *

File size: 621 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 void openCaster();
28 QTcpServer* _clkServer;
29 QTcpSocket* _clkSocket;
30 QTcpSocket* _outSocket;
31 t_bnseph* _bnseph;
32 QMutex _mutex;
33};
34#endif
Note: See TracBrowser for help on using the repository browser.