Ignore:
Timestamp:
May 4, 2022, 2:20:06 PM (2 years ago)
Author:
stuerze
Message:

initial Ntrip verion 2 upload implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncuploadcaster.h

    r8770 r9707  
    44#include <QDateTime>
    55#include <QMutex>
    6 #include <QTcpSocket>
     6#include <QSslSocket>
    77#include <QNetworkProxy>
    88#include <QThread>
     9#include <QSslError>
     10#include <iostream>
     11
    912
    1013class bncUploadCaster : public QThread {
     
    3134  void newBytes(QByteArray staID, double nbyte);
    3235
     36 private slots:
     37  void slotProxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*);
     38  //void slotSslErrors(QList<QSslError>);
     39
    3340 private:
    3441  void         open();
     
    3845  QString     _outHost;
    3946  int         _outPort;
     47  QString     _casterOutHost;
     48  int         _casterOutPort;
     49  QString     _proxyHost;
     50  int         _proxyPort;
    4051  QString     _userName;
    4152  QString     _password;
    4253  QString     _ntripVersion;
     54  QString     _postExtension;
    4355  bool        _secure;
    44   QTcpSocket* _outSocket;
     56  bool        _sslIgnoreErrors;
     57  QSslSocket* _outSocket;
    4558  int         _sOpenTrial;
    4659  QDateTime   _outSocketOpenTime;
Note: See TracChangeset for help on using the changeset viewer.