Prevent head of line blocking and track server resource download progress
This commit is contained in:
parent
344ef4093a
commit
2aab3e9e60
14 changed files with 179 additions and 83 deletions
|
|
@ -14,7 +14,10 @@ class ConnectionManager {
|
|||
}
|
||||
bool is_client_disconnected();
|
||||
bool is_host_disconnected();
|
||||
std::pair<uint64_t, uint64_t> client_get_resource_retrieval_progress();
|
||||
bool host_exists();
|
||||
bool client_exists();
|
||||
std::unordered_map<ServerClientID, NetLibrary::DownloadProgress> server_get_resource_retrieval_progress();
|
||||
NetLibrary::DownloadProgress client_get_resource_retrieval_progress();
|
||||
private:
|
||||
std::shared_ptr<NetClient> client;
|
||||
std::unique_ptr<MainServer> localServer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue