![]() |
Maria GDK 5.0.0.738
Documentation of native code in develop branch
|
Resolves map request services to map services. More...
#include <MHttpServiceResolver.h>
Public Member Functions | |
HttpServiceResolver (std::shared_ptr< Maria::SystemTicker > systemTicker, const std::string &base_url="localhost") | |
bool | ResolveService (const MapContentQuery &mapQuery, std::shared_ptr< MapServiceEntry > &serviceEntry, std::int64_t timeout=0) |
bool | ResolveAllMapServices (std::vector< std::shared_ptr< MapServiceEntry > > &serviceEntries, std::int64_t timeout=0) |
Resolves map request services to map services.
bool HttpServiceResolver::ResolveService | ( | const MapContentQuery & | mapQuery, |
std::shared_ptr< MapServiceEntry > & | serviceEntry, | ||
std::int64_t | timeout = 0 |
||
) |
Find a matching service for the given map content query. This method will try to resolve the given map query for maximum timeout
ms. If no timeout is given, it will block forever indefinetely This method is thread safe.