aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/test/example/common/proto.h
blob: 9a9a730312796a52d000f8f389bf8e4469ed2c0c (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();
    };

}