6#ifndef SWIFT_MISC_NETWORK_URLLOGLIST_H
7#define SWIFT_MISC_NETWORK_URLLOGLIST_H
9#include <QNetworkReply>
19namespace swift::misc::network
Generic ordered container with value semantics.
CSequence()=default
Default constructor.
ITimestampObjectList()=default
Value object encapsulating information of a location, kind of simplified CValueObject compliant versi...
Information about accessing one URL over the network.
Value object encapsulating a list of voice rooms.
int sizePending() const
Pending calls.
bool markAsReceived(int id, bool success)
Mark as received.
CUrlLogList findPending() const
Find pending log entries.
bool hasCompleted() const
Any completed calls.
CSequence()=default
Default constructor.
bool containsId(int id) const
Contains the id?
int sizeErrors() const
Erroneous calls.
CUrlLogList findOutdatedPending(int outdatedOffsetMs) const
Find outdated pending log entries.
bool hasPending() const
Any pending calls.
QString getSummary() const
Summary.
int addPendingUrl(const CUrl &url, int maxNumber=10)
Add a pending URL.
qint64 getMaxResponseTime() const
Maximum response time.
qint64 getAverageResponseTime() const
Average response time.
CUrlLogList()=default
Default constructor.
CUrlLogList findErrors() const
Find log entries with errors (not pending).
CUrlLog findByIdOrDefault(int id) const
Find by id.
qint64 getMinResponseTime() const
Minimum response time.
#define SWIFT_DECLARE_SEQUENCE_MIXINS(Namespace, T, List)
Explicit template declaration of mixins for a CSequence subclass to be placed near the top of the hea...
#define SWIFT_MISC_EXPORT
Export a class or function from the library.