Better diagram
This commit is contained in:
parent
dd87f74e40
commit
d113932c8f
@ -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
|
Loading…
Reference in New Issue
Block a user