|
Classes |
struct | tagDOWNLOADINFO |
class | AsynchDownload |
| Asynchronous download class - downloads a url to a local file using HTTP Used by the download manager. More...
|
class | AsynchDownload::AsynchBindStatusCallback |
class | DownloadQueue |
| InternetManager support class. Represents a queue of asynchronous downloads, which are executed in sequence one at a time. More...
|
struct | CacheEntry |
| DownloadCache support structure. Encapsulates an entry into the cache file table. More...
|
struct | CacheRemovalAlgorithm |
| DownloadCache support structure. Implements the cache removal algorithm. When the cache fills up, files with lower priority will be discarded first (see CacheEntry::Priority); for files of equal priority we compare the time stamps. More...
|
class | DownloadCache |
| Implements the file cache used by the InternetManager Comment: The interface is static so it can be accessed from anywhere in the program with the scope resolution operator ::. More...
|
class | DownloadCache::CacheMonitor |
class | InternetManager |
| Webster connection/download manager. It is responsible for schedulling downloads for execution according to the priority declared by the client on registration, ensuring that no more than a preset number of connections are open at any one time (important for users with limited bandwidth), and otherwise keeping track of their fate. The sheduling sheme is as follows:
- downloads with AsynchDownload::PRIORITY_NORMAL will be executed one at a time, as long as there are no high priority downloads queued up and the maximum number of connections is not exceeded. They all share the same progress dlg, which is hidden when there are no downloads scheduled
- downloads with AsynchDownload::PRIORITY_HIGH will be executed simultaneously, up to the maximum no of connections. Each download gets its own progress dlg.
More...
|
Defines |
#define | DOWNLOAD_HANDLE INT32 |
#define | MAX_HANDLE 1000 |
#define | DOWNLOAD_ERROR 1 |
#define | SIZEOFKILOBYTE 1024 |
#define | NOTIFICATION_QUEUE_SIZE 3 |
Typedefs |
typedef tagDOWNLOADINFO | DOWNLOADINFO |
typedef tagDOWNLOADINFO * | LPDOWNLOADINFO |
Enumerations |
enum | FileType {
TYPE_HTML = 0,
TYPE_CLIPART,
TYPE_FONT,
TYPE_BITMAP,
TYPE_TEXTURE,
TYPE_COLOUR,
TYPE_FILL,
TYPE_THUMBNAIL,
TYPE_CATALOG,
TYPE_SUPPORT
} |
enum | ConnectionType { CONNECTION_SLOWMODEM = 0,
CONNECTION_FASTMODEM,
CONNECTION_X2,
CONNECTION_ISDN
} |