aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/test/example/common/proto.cpp
blob: 3531e3d06c7dee6e6bf64893d8475cec012023fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include "proto.h" 
 
using namespace NCalculator; 
using namespace NBus; 
 
TCalculatorProtocol::TCalculatorProtocol() 
    : TBusBufferProtocol("Calculator", 34567) 
{ 
    RegisterType(new TRequestSum); 
    RegisterType(new TRequestMul); 
    RegisterType(new TResponse); 
}