Information about the properties of a single acquire method. More...
#include <acquire.h>
Public Member Functions | |
MethodConfig () | |
Set up the default method parameters. More... | |
virtual | ~MethodConfig () |
Public Attributes | |
std::string | Access |
The name of this acquire method (e.g., http). More... | |
void * | d |
dpointer placeholder (for later in case we need it) More... | |
bool | LocalOnly |
If true, this fetch method does not require network access; all files are to be acquired from the local disk. More... | |
bool | NeedsCleanup |
If true, the subprocess has to carry out some cleanup actions before shutting down. More... | |
MethodConfig * | Next |
The next link on the acquire method list. More... | |
bool | Pipeline |
If true, this method supports pipelined downloading. More... | |
bool | Removable |
If true, this fetch method acquires files from removable media. More... | |
bool | SendConfig |
If true, the worker process should send the entire APT configuration tree to the fetch subprocess when it starts up. More... | |
bool | SingleInstance |
If true, only one download queue should be created for this method. More... | |
std::string | Version |
The implementation version of this acquire method. More... | |
Information about the properties of a single acquire method.
{{{
pkgAcquire::MethodConfig::MethodConfig | ( | ) |
Set up the default method parameters.
All fields are initialized to NULL, "", or false as appropriate.
|
inlinevirtual |
std::string pkgAcquire::MethodConfig::Access |
The name of this acquire method (e.g., http).
void* pkgAcquire::MethodConfig::d |
dpointer placeholder (for later in case we need it)
bool pkgAcquire::MethodConfig::LocalOnly |
If true, this fetch method does not require network access; all files are to be acquired from the local disk.
bool pkgAcquire::MethodConfig::NeedsCleanup |
If true, the subprocess has to carry out some cleanup actions before shutting down.
For instance, the cdrom method needs to unmount the CD after it finishes.
MethodConfig* pkgAcquire::MethodConfig::Next |
The next link on the acquire method list.
bool pkgAcquire::MethodConfig::Pipeline |
If true, this method supports pipelined downloading.
bool pkgAcquire::MethodConfig::Removable |
If true, this fetch method acquires files from removable media.
bool pkgAcquire::MethodConfig::SendConfig |
If true, the worker process should send the entire APT configuration tree to the fetch subprocess when it starts up.
bool pkgAcquire::MethodConfig::SingleInstance |
If true, only one download queue should be created for this method.
std::string pkgAcquire::MethodConfig::Version |
The implementation version of this acquire method.