aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/debug_receiver/debug_receiver_proto.h
diff options
context:
space:
mode:
authornga <nga@yandex-team.ru>2022-02-10 16:48:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:09 +0300
commitc2a1af049e9deca890e9923abe64fe6c59060348 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/messagebus/debug_receiver/debug_receiver_proto.h
parent1f553f46fb4f3c5eec631352cdd900a0709016af (diff)
downloadydb-c2a1af049e9deca890e9923abe64fe6c59060348.tar.gz
Restoring authorship annotation for <nga@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/debug_receiver/debug_receiver_proto.h')
-rw-r--r--library/cpp/messagebus/debug_receiver/debug_receiver_proto.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/library/cpp/messagebus/debug_receiver/debug_receiver_proto.h b/library/cpp/messagebus/debug_receiver/debug_receiver_proto.h
index 90c01444fb..d34710dcf7 100644
--- a/library/cpp/messagebus/debug_receiver/debug_receiver_proto.h
+++ b/library/cpp/messagebus/debug_receiver/debug_receiver_proto.h
@@ -1,27 +1,27 @@
-#pragma once
-
+#pragma once
+
#include <library/cpp/messagebus/ybus.h>
-
+
struct TDebugReceiverMessage: public NBus::TBusMessage {
- /// constructor to create messages on sending end
+ /// constructor to create messages on sending end
TDebugReceiverMessage(ui16 type)
: NBus::TBusMessage(type)
{
}
-
- /// constructor with serialzed data to examine the header
+
+ /// constructor with serialzed data to examine the header
TDebugReceiverMessage(NBus::ECreateUninitialized)
: NBus::TBusMessage(NBus::ECreateUninitialized())
{
}
-
- TBuffer Payload;
-};
-
+
+ TBuffer Payload;
+};
+
struct TDebugReceiverProtocol: public NBus::TBusProtocol {
- TDebugReceiverProtocol();
-
+ TDebugReceiverProtocol();
+
void Serialize(const NBus::TBusMessage* mess, TBuffer& data) override;
-
+
TAutoPtr<NBus::TBusMessage> Deserialize(ui16 messageType, TArrayRef<const char> payload) override;
-};
+};