aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/test/example/common/proto.h
blob: f9fbd5ce5622faf82913f8642d36e238480e31f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once 
 
#include <library/cpp/messagebus/test/example/common/messages.pb.h>
 
#include <library/cpp/messagebus/ybus.h>
#include <library/cpp/messagebus/protobuf/ybusbuf.h>

namespace NCalculator { 
    typedef ::NBus::TBusBufferMessage<TRequestSumRecord, 1> TRequestSum; 
    typedef ::NBus::TBusBufferMessage<TRequestMulRecord, 2> TRequestMul; 
    typedef ::NBus::TBusBufferMessage<TResponseRecord, 3> TResponse; 
 
    struct TCalculatorProtocol: public ::NBus::TBusBufferProtocol {
        TCalculatorProtocol(); 
    }; 
 
}