diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:17 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:17 +0300 |
commit | d3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch) | |
tree | dd4bd3ca0f36b817e96812825ffaf10d645803f2 /library/cpp/messagebus/test/example | |
parent | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff) | |
download | ydb-d3a398281c6fd1d3672036cb2d63f842d2cb28c5.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/test/example')
-rw-r--r-- | library/cpp/messagebus/test/example/client/client.cpp | 2 | ||||
-rw-r--r-- | library/cpp/messagebus/test/example/common/proto.h | 2 | ||||
-rw-r--r-- | library/cpp/messagebus/test/example/server/server.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/messagebus/test/example/client/client.cpp b/library/cpp/messagebus/test/example/client/client.cpp index 0a4097f5f4..89b5f2c9be 100644 --- a/library/cpp/messagebus/test/example/client/client.cpp +++ b/library/cpp/messagebus/test/example/client/client.cpp @@ -6,7 +6,7 @@ using namespace NBus; using namespace NCalculator; namespace NCalculator { - struct TCalculatorClient: public IBusClientHandler { + struct TCalculatorClient: public IBusClientHandler { TCalculatorProtocol Proto; TBusMessageQueuePtr MessageQueue; TBusClientSessionPtr ClientSession; diff --git a/library/cpp/messagebus/test/example/common/proto.h b/library/cpp/messagebus/test/example/common/proto.h index 904dbad713..a151aac468 100644 --- a/library/cpp/messagebus/test/example/common/proto.h +++ b/library/cpp/messagebus/test/example/common/proto.h @@ -10,7 +10,7 @@ namespace NCalculator { typedef ::NBus::TBusBufferMessage<TRequestMulRecord, 2> TRequestMul; typedef ::NBus::TBusBufferMessage<TResponseRecord, 3> TResponse; - struct TCalculatorProtocol: public ::NBus::TBusBufferProtocol { + struct TCalculatorProtocol: public ::NBus::TBusBufferProtocol { TCalculatorProtocol(); }; diff --git a/library/cpp/messagebus/test/example/server/server.cpp b/library/cpp/messagebus/test/example/server/server.cpp index 1d065c1ef6..13e52d75f5 100644 --- a/library/cpp/messagebus/test/example/server/server.cpp +++ b/library/cpp/messagebus/test/example/server/server.cpp @@ -4,7 +4,7 @@ using namespace NBus; using namespace NCalculator; namespace NCalculator { - struct TCalculatorServer: public IBusServerHandler { + struct TCalculatorServer: public IBusServerHandler { TCalculatorProtocol Proto; TBusMessageQueuePtr MessageQueue; TBusServerSessionPtr ServerSession; @@ -43,7 +43,7 @@ namespace NCalculator { } } }; -} +} int main(int, char**) { TCalculatorServer server; |