apt  1.5
Public Member Functions
pkgAcqMetaClearSig Class Reference

An item repsonsible for downloading clearsigned metaindexes {{{. More...

#include <acquire-item.h>

Inheritance diagram for pkgAcqMetaClearSig:
Inheritance graph
[legend]
Collaboration diagram for pkgAcqMetaClearSig:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Failed (std::string Message, pkgAcquire::MethodConfig *Cnf)
 Invoked by the acquire worker when the object couldn't be fetched.
virtual std::string Custom600Headers ()
 Custom headers to be sent to the fetch process.
 pkgAcqMetaClearSig (pkgAcquire *Owner, std::string const &URI, std::string const &URIDesc, std::string const &ShortDesc, std::string const &MetaIndexURI, std::string const &MetaIndexURIDesc, std::string const &MetaIndexShortDesc, std::string const &MetaSigURI, std::string const &MetaSigURIDesc, std::string const &MetaSigShortDesc, const std::vector< struct IndexTarget * > *IndexTargets, indexRecords *MetaIndexParser)
 Create a new pkgAcqMetaClearSig.

Detailed Description

An item repsonsible for downloading clearsigned metaindexes {{{.


Member Function Documentation

string Custom600Headers ( ) [virtual]

Custom headers to be sent to the fetch process.

Returns:
a string containing RFC822-style headers that are to be inserted into the 600 URI Acquire message sent to the fetch subprocess. The headers are inserted after a newline-less line, so they should (if nonempty) have a leading newline and no trailing newline.

Reimplemented from pkgAcqMetaIndex.

References pkgAcqMetaIndex::RealURI.

void Failed ( std::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.

Parameters:
MessageAn RFC822-formatted message from the acquire method describing what went wrong. Use LookupTag() to parse it.
CnfThe method via which the worker tried to fetch this object.
See also:
pkgAcqMethod

Reimplemented from pkgAcqMetaIndex.

References pkgAcqMetaIndex::AuthPass, pkgAcquire::Item::Dequeue(), pkgAcqMetaIndex::IndexTargets, pkgAcquire::MethodConfig::LocalOnly, and pkgAcqMetaIndex::RealURI.


The documentation for this class was generated from the following files: