apt @VERSION@
|
An acquire item that is responsible for fetching a {{{ translated index file. More...
#include <acquire-item.h>
Public Member Functions | |
virtual void | Failed (string Message, pkgAcquire::MethodConfig *Cnf) |
Invoked by the acquire worker when the object couldn't be fetched. | |
virtual string | Custom600Headers () |
Custom headers to be sent to the fetch process. | |
pkgAcqIndexTrans (pkgAcquire *Owner, string URI, string URIDesc, string ShortDesc) | |
Create a pkgAcqIndexTrans. | |
pkgAcqIndexTrans (pkgAcquire *Owner, struct IndexTarget const *const Target, HashString const &ExpectedHash, indexRecords const *MetaIndexParser) |
An acquire item that is responsible for fetching a {{{ translated index file.
The only difference from pkgAcqIndex is that transient failures are suppressed: no error occurs if the translated index file is missing.
pkgAcqIndexTrans | ( | pkgAcquire * | Owner, |
string | URI, | ||
string | URIDesc, | ||
string | ShortDesc | ||
) |
Create a pkgAcqIndexTrans.
Owner | The pkgAcquire object with which this item is associated. |
URI | The URI of the index file that is to be downloaded. |
URIDesc | A "URI-style" description of this index file. |
ShortDesc | A brief description of this index file. |
string Custom600Headers | ( | ) | [virtual] |
Custom headers to be sent to the fetch process.
Reimplemented from pkgAcqIndex.
References pkgAcqIndex::RealURI.
virtual void Failed | ( | string | Message, |
pkgAcquire::MethodConfig * | Cnf | ||
) | [virtual] |
Invoked by the acquire worker when the object couldn't be fetched.
This is a branch of the continuation of the fetch process.
Message | An RFC822-formatted message from the acquire method describing what went wrong. Use LookupTag() to parse it. |
Cnf | The method via which the worker tried to fetch this object. |
Reimplemented from pkgAcqIndex.