forked from ydb-platform/nbs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserver.h
38 lines (27 loc) · 995 Bytes
/
server.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#pragma once
#include "public.h"
#include <cloud/filestore/libs/diagnostics/incomplete_requests.h>
#include <cloud/filestore/libs/diagnostics/public.h>
#include <cloud/filestore/libs/service/public.h>
#include <cloud/storage/core/libs/common/startable.h>
#include <cloud/storage/core/libs/diagnostics/public.h>
namespace NCloud::NFileStore::NServer {
////////////////////////////////////////////////////////////////////////////////
struct IServer
: public IStartable
, public IIncompleteRequestProvider
{
};
////////////////////////////////////////////////////////////////////////////////
IServerPtr CreateServer(
TServerConfigPtr config,
ILoggingServicePtr logging,
IRequestStatsPtr requestStats,
IProfileLogPtr profileLog,
IFileStoreServicePtr service);
IServerPtr CreateServer(
TServerConfigPtr config,
ILoggingServicePtr logging,
IRequestStatsPtr requestStats,
IEndpointManagerPtr service);
} // namespace NCloud::NFileStore::NServer