#include <PMYouServers.h>
Inheritance diagram for PMYouServers:
Public Member Functions | |
PMYouServers (const PMYouSettingsPtr &) | |
~PMYouServers () | |
Pathname | localSuseServers () |
Pathname | localYouServers () |
Pathname | cachedYouServers () |
PMError | requestServers (bool check=false) |
std::list< PMYouServer > | servers () |
PMYouServer | defaultServer () |
PMYouServer | currentServer () |
bool | addSLPServers () |
void | addServer (const PMYouServer &) |
Protected Member Functions | |
std::string | encodeUrl (const std::string &url) |
void | addPackageVersion (const std::string &pkgName, std::string &url) |
PMError | readServers (const Pathname &, PMYouServer::Type) |
Private Member Functions | |
REP_BODY (PMYouServers) | |
Private Attributes | |
PMYouSettingsPtr | _settings |
std::list< PMYouServer > | _servers |
|
Constructor. |
|
Destructor |
|
|
|
Add a PMYouServer to the list of known servers |
|
Add the SLP servers to the list of known servers |
|
Return path to file where the server list is downloaded to from the server. |
|
Return server which is currently used for getting updates. |
|
Return default server, when no server list can be read at all. |
|
|
|
Return path to local server list (suseservers). This file is obsolete, use localYouServers() instead. |
|
Return path to local server list configuration file. |
|
|
|
|
|
Get list of YOU servers from CGI script on the master server. If check is true the server list is going to be used to check the availability of updates but not to axtually download them. |
|
Return list of known servers. |
|
|
|
|