| AptDHT | | DHT | | Internet
| |--->|join DHT|----|--\
| |--->|loadConfig | | | Another
- | |--->|getValue | | | Peer
+ | |--->|getValue | | | Node
| |--->|storeValue DHT|<---|--/
| |--->|leave | |
| | +-----------------------------------+ |
| |--->|get |--->|get HTTP|----|---> Mirror
| | | |--->|getRange | |
| |--->|close |--->|close HTTP|----|--\
- | | +-------------+ +----------------+ | |
- | | +-----------------------------------+ | | Another
- | | | HTTPServer | | | Peer
- | |--->|getHTTPFactory HTTP|<---|--/
+ | | +-------------+ +----------------+ | | Another
+ | | +-----------------------------------+ | | Peer
+ | | | HTTPServer HTTP|<---|--/
+ | |--->|getHTTPFactory | +-------------
|check_freshness|<---| | +-------------
- | get_resp|<---| | +-------------
- | /----|--->|setDirectories HTTP|<---|HTTP Request
- | | | +-----------------------------------+ |
- | | | +---------------+ +--------------+ | Local Net
- | | | | CacheManager | | ProxyFile- | | (apt)
- | | |--->|scanDirectories| | Stream* | |
- | setDirectories|<---| |--->|__init__ HTTP|--->|HTTP Response
- | |--->|save_file | | | +-------------
+ | get_resp|<---| HTTP|<---|HTTP Request
+ | | +-----------------------------------+ |
+ | | +---------------+ +--------------+ | Local Net
+ | | | CacheManager | | ProxyFile- | | (apt)
+ | |--->|scanDirectories| | Stream* | |
+ | |--->|save_file |--->|__init__ HTTP|--->|HTTP Response
| |--->|save_error | | | +-------------
+ | | | | | | +-------------
|new_cached_file|<---| | | file|--->|write file
| | +---------------+ +--------------+ |
| | +---------------+ +--------------+ | Filesystem
| | | MirrorManager | | AptPackages* | |
- | |--->|updatedFile |--->|file_updated |--->|write file
- | |--->|findHash |--->|findHash | |
+ | |--->|updatedFile |--->|file_updated | |
+ | |--->|findHash |--->|findHash file|<---|read file
+---------------+ +---------------+ +--------------+ +-------------
"""