diff options
Diffstat (limited to 'storage/pinger.hpp')
-rw-r--r-- | storage/pinger.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/storage/pinger.hpp b/storage/pinger.hpp new file mode 100644 index 0000000000..6fd185455c --- /dev/null +++ b/storage/pinger.hpp @@ -0,0 +1,16 @@ +#pragma once + +#include "platform/safe_callback.hpp" + +#include <string> +#include <vector> + +namespace storage +{ +class Pinger +{ +public: + using Pong = platform::SafeCallback<void(std::vector<std::string> readyUrls)>; + static void Ping(std::vector<std::string> const & urls, Pong const & pong); +}; +} // namespace storage |