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

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

* empty log message *

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