Better diagram

This commit is contained in:
Pcornat 2021-02-21 11:22:57 +01:00
parent dd87f74e40
commit d113932c8f
No known key found for this signature in database
GPG Key ID: 873C3ACCF970C74E

View File

@ -1,45 +1,47 @@
@startuml @startuml
Configuration ..> "produces" Information namespace gemini {
Network ..> "uses" TaskRequest Configuration ..> "produces" Information
Network ..> "uses" Information Network ..> "uses" TaskRequest
TaskRequest ..> "uses" Information Network ..> "uses" Information
TaskRequest ..> "uses" CacheFiles TaskRequest ..> "uses" Information
TaskRequest ..> "uses" CacheFiles
class TaskRequest { class TaskRequest {
- request: string - request: string
} }
class Network { class Network {
- context: io_context - context: io_context
- ssl: ssl::stream<tcp> - ssl: ssl::stream<tcp>
+ Network() + Network()
+ Network(&&) + Network(&&)
+ operator=(&&) + operator=(&&)
} }
class Configuration { class Configuration {
+ filename: const string + filename: const string
+ Configuration(string filename) + Configuration(string filename)
+ create_infos(): Information + create_infos(): Information
} }
class Information { class Information {
+ enable_cache: const bool + enable_cache: const bool
+ cache_size: const int + cache_size: const int
+ ssl_pem_path: const path + ssl_pem_path: const path
+ ssl_cert_path: const path + ssl_cert_path: const path
} }
class CacheFiles { class CacheFiles {
- files: unordered_set<string> - files: unordered_set<string>
- content: unordered_map<string, string> - content: unordered_map<string, string>
+ CacheFiles() + CacheFiles()
+ get_files(): files + get_files(): files
+ get_content(): content + get_content(): content
}
} }
@enduml @enduml