Debug("ICNConnection:\tNotificationICPDL\t%f\t%f\n", winSize, speed);
}
+void ICNConnectionConsumerApi::notifyDownloadTime(double downloadingTime)
+{
+ //downloadingTime is in microseconds, dnltime should be in seconds
+ this->dnltime = downloadingTime / 1000000;
+}
+
void ICNConnectionConsumerApi::SetBeta(float beta)
{
this->beta = beta;
const std::vector<dash::metrics::IHTTPTransaction *> &GetHTTPTransactionList() const;
virtual void SetBeta(float beta);
virtual void SetDrop(float drop);
+
+ //libl4::transport::IcnObserver
virtual void notifyStats(double throughput);
+ virtual void notifyDownloadTime(double downloadingTime);
private:
libl4::http::HTTPClientConnection *hTTPClientConnection;
if (this->HasAttribute("t"))
{
- uint64_t yolo = strtoul(this->GetAttributeValue("t").c_str(), NULL, 10);
timeline->SetStartTime(strtoul(this->GetAttributeValue("t").c_str(), NULL, 10));
}
if (this->HasAttribute("d"))