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