aboutsummaryrefslogtreecommitdiffstats
path: root/yt/yt/core/rpc/local_server.cpp
blob: 7c2c5f1307432f61d64f76e98d2338aa30401ab2 (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