aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/interconnect/interconnect_mon.h
blob: 2c4d4fa5503fa6215f5ad6803f210ece25084ca0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once 
 
#include <library/cpp/actors/core/actor.h>
#include "interconnect_common.h" 
 
namespace NInterconnect { 
 
    NActors::IActor *CreateInterconnectMonActor(TIntrusivePtr<NActors::TInterconnectProxyCommon> common = nullptr); 
 
    static inline NActors::TActorId MakeInterconnectMonActorId(ui32 nodeId) {
        char s[12] = {'I', 'C', 'O', 'v', 'e', 'r', 'v', 'i', 'e', 'w', 0, 0}; 
        return NActors::TActorId(nodeId, TStringBuf(s, 12));
    } 
 
} // NInterconnect