ATLAS Offline Software
Loading...
Searching...
No Matches
VP1AvailEvtsHttps.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5
7// //
8// Header file for class VP1AvailEvtsHttps //
9// //
10// Description: ... //
11// //
13
14#ifndef VP1AVAILEVTSHTTPS_H
15#define VP1AVAILEVTSHTTPS_H
16
17// include C++
18//#include <stddef.h> // this to fix the 'ptrdiff_t' does not name a type error with Qt (http://qt-project.org/forums/viewthread/16992)
19
20#include <QObject>
21#include <QNetworkReply>
22
24
25class QNetworkAccessManager;
26
28{
29 Q_OBJECT
30
31public:
32
33 VP1AvailEvtsHttps(const QString & fileinfoUrl,
34 int updateInterval,
35 int timeCutForNew,
36 const QString& tmpcopydir,
37 int maxLocalFilesToKeep = -1,
38 QObject * parent = 0);
39 virtual ~VP1AvailEvtsHttps();
40
41 virtual void init();
42
43 const QString& fileinfoLocation();
44
45public Q_SLOTS:
46 void start(QNetworkAccessManager* netmanager);
47
48private Q_SLOTS:
49 // ---- Https/SSL slots ----
50 // Slots of the QNetworkReply
51 void finished();
52 void error(QNetworkReply::NetworkError);
53#ifndef QT_NO_SSL
54 void sslErrors(const QList<QSslError>&);
55#endif
56 void dataReadProgress(qint64,qint64);
57 void checkForStall();
58
59 // Timer slot
61
62private:
63 class Imp;
65};
66
67#endif
68
VP1AvailEvents(int timeCutForNew, const QString &tmpdir, int maxLocalFilesToKeep=-1, QObject *parent=0)
int timeCutForNew() const
int maxLocalFilesToKeep() const
const QString & fileinfoLocation()
VP1AvailEvtsHttps(const QString &fileinfoUrl, int updateInterval, int timeCutForNew, const QString &tmpcopydir, int maxLocalFilesToKeep=-1, QObject *parent=0)
void sslErrors(const QList< QSslError > &)
void dataReadProgress(qint64, qint64)
void start(QNetworkAccessManager *netmanager)