aboutsummaryrefslogtreecommitdiffstats
path: root/yt/yt/core/rpc/local_server.cpp
blob: 910b4efe54c5c7a5918f9c9fbdca4baf051037ad (plain) (blame)
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
#include "local_server.h"
#include "server_detail.h"
#include "private.h"

namespace NYT::NRpc {

////////////////////////////////////////////////////////////////////////////////

class TLocalServer
    : public TServerBase
{
public:
    TLocalServer()
        : TServerBase(RpcServerLogger.WithTag("LocalServerId: %v", TGuid::Create()))
    { }
};

IServerPtr CreateLocalServer()
{
    return New<TLocalServer>();
}

////////////////////////////////////////////////////////////////////////////////

} // namespace NYT::NRpc