Changeset 88 in ntrip for trunk/BNC/bncgetthread.h


Ignore:
Timestamp:
Aug 31, 2006, 7:20:36 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.h

    r82 r88  
    1212
    1313 public:
    14    bncGetThread(const QString& host, int port,
    15                 const QString& proxyHost, int proxyPort,
    16                 const QByteArray& mountPoint,
    17                 const QByteArray& user,
    18                 const QByteArray& password,
    19                 const QByteArray& format);
     14   bncGetThread(const QUrl& mountPoint, const QByteArray& format);
    2015   ~bncGetThread();
    21    static QTcpSocket* bncGetThread::request(const QString& host, int port,
    22                                       const QString& proxyHost, int proxyPort,
    23                                       const QByteArray& mountPoint,
    24                                       const QByteArray& user,
    25                                       const QByteArray& password,
    26                                       QString& msg);
    27    QByteArray mountPoint() {return _mountPoint;}
     16
     17   static QTcpSocket* bncGetThread::request(const QUrl& mountPoint,
     18                                            QString& msg);
     19
     20   QByteArray staID() const {return _staID;}
    2821
    2922 signals:
    30    void newObs(const QByteArray& mountPoint, Observation* obs);
    31    void error(const QByteArray& mountPoint);
     23   void newObs(const QByteArray& staID, Observation* obs);
     24   void error(const QByteArray& staID);
    3225   void newMessage(const QByteArray& msg);
    3326
     
    3831   void exit(int exitCode = 0);
    3932   QTcpSocket* _socket;
    40    QString     _host;
    41    int         _port;
    42    QString     _proxyHost;
    43    int         _proxyPort;
    44    QByteArray  _mountPoint;
    45    QByteArray  _user;
    46    QByteArray  _password;
     33   QUrl        _mountPoint;
     34   QByteArray  _staID;
    4735   QByteArray  _format;
    4836};
Note: See TracChangeset for help on using the changeset viewer.