diff options
Diffstat (limited to 'src/zenserver/admin/admin.h')
| -rw-r--r-- | src/zenserver/admin/admin.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/zenserver/admin/admin.h b/src/zenserver/admin/admin.h deleted file mode 100644 index 9a49f5120..000000000 --- a/src/zenserver/admin/admin.h +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -#pragma once - -#include <zencore/compactbinary.h> -#include <zenhttp/httpserver.h> -#include <functional> - -namespace zen { - -class GcScheduler; -class JobQueue; -class ZenCacheStore; -struct ZenServerOptions; - -class HttpAdminService : public zen::HttpService -{ -public: - struct LogPaths - { - std::filesystem::path AbsLogPath; - std::filesystem::path HttpLogPath; - std::filesystem::path CacheLogPath; - }; - HttpAdminService(GcScheduler& Scheduler, - JobQueue& BackgroundJobQueue, - ZenCacheStore* CacheStore, - std::function<void()>&& FlushFunction, - const LogPaths& LogPaths, - const ZenServerOptions& ServerOptions); - ~HttpAdminService(); - - virtual const char* BaseUri() const override; - virtual void HandleRequest(zen::HttpServerRequest& Request) override; - -private: - HttpRequestRouter m_Router; - GcScheduler& m_GcScheduler; - JobQueue& m_BackgroundJobQueue; - ZenCacheStore* m_CacheStore; - std::function<void()> m_FlushFunction; - LogPaths m_LogPaths; - const ZenServerOptions& m_ServerOptions; -}; - -} // namespace zen |