Expand description
BridgeDescMgr - downloads and caches bridgesโ router descriptors
Modulesยง
- mockable ๐
- Private module which seals
Mockableby containingMockableAPI
Structsยง
- Bridge
Desc Download Config - Configuration for the
BridgeDescMgr - Bridge
Desc Mgr - Downloader and cache for bridgesโ router descriptors
- Downloaded ๐
- If download was successful, what we obtained
- Join
Handle ๐ - Dummy task join handle
- Manager ๐
- The actual manager.
- Queued
Entry ๐ - Entry in
queued - Refetch
Entry ๐ - Entry in one of the
*_schedules - Running
Info ๐ - Value of the entry in
running - State ๐
- State: our downloaded descriptors (cache), and records of what weโre doing
- State
Guard ๐ - Writeable reference to
State, entitling the holder to disrupt liveness properties.
Enumsยง
- Dormancy
- Active vs dormant state, as far as the bridge descriptor manager is concerned
- Error
- An error which occurred trying to obtain the descriptor for a particular bridge
- Startup
Error - Error which occurs during bridge descriptor manager startup
Traitsยง
- Mockable
- Mockable internal methods for within the
BridgeDescMgr
Functionsยง
- process_
document ๐ - Processes and analyses a textual descriptor document into a
Downloaded - timeout_
task ๐ - Task which waits for the timeout, and requeues bridges that need to be refetched
Type Aliasesยง
- Bridge
Key ๐ - The key we use in all our data structures