zypp::repo::Downloader Class Reference

#include <Downloader.h>

Inheritance diagram for zypp::repo::Downloader:
[legend]

List of all members.

Public Member Functions

 Downloader ()
virtual ~Downloader ()
virtual void download (MediaSetAccess &media, const Pathname &dest_dir, const ProgressData::ReceiverFnc &progress=ProgressData::ReceiverFnc())
virtual RepoStatus status (MediaSetAccess &media)


Detailed Description

Downloader base class a Downloader encapsulates all the knowledge of which files have to be downloaded to the local disk.

Definition at line 31 of file Downloader.h.


Constructor & Destructor Documentation

zypp::repo::Downloader::Downloader (  ) 

Constructor

Definition at line 28 of file Downloader.cc.

zypp::repo::Downloader::~Downloader (  )  [virtual]

Definition at line 32 of file Downloader.cc.


Member Function Documentation

void zypp::repo::Downloader::download ( MediaSetAccess media,
const Pathname &  dest_dir,
const ProgressData::ReceiverFnc progress = ProgressData::ReceiverFnc() 
) [virtual]

Download metadata to a local directory

Parameters:
media Media access to the repository url
dest_dir Local destination directory
progress progress receiver

Reimplemented in zypp::repo::susetags::Downloader, and zypp::repo::yum::Downloader.

Definition at line 42 of file Downloader.cc.

References WAR.

RepoStatus zypp::repo::Downloader::status ( MediaSetAccess media  )  [virtual]

Status of the remote repository

Reimplemented in zypp::repo::susetags::Downloader, and zypp::repo::yum::Downloader.

Definition at line 36 of file Downloader.cc.

References WAR.


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 19:23:25 2007 for libzypp by  doxygen 1.5.3