diff options
author | Alexander Rutkovsky <alexvru@mail.ru> | 2022-02-10 16:47:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:39 +0300 |
commit | f3646f91e0de459836a7800b9ce3e8dc57a2ab3a (patch) | |
tree | 25c1423200152570c1f8307e5b8304b9bc3840c5 /library/cpp/actors/core/mon.h | |
parent | fccc62e9bfdce9be2fe7e0f23479da3a5512211a (diff) | |
download | ydb-f3646f91e0de459836a7800b9ce3e8dc57a2ab3a.tar.gz |
Restoring authorship annotation for Alexander Rutkovsky <alexvru@mail.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/actors/core/mon.h')
-rw-r--r-- | library/cpp/actors/core/mon.h | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/library/cpp/actors/core/mon.h b/library/cpp/actors/core/mon.h index c450f2338e..0b851878a2 100644 --- a/library/cpp/actors/core/mon.h +++ b/library/cpp/actors/core/mon.h @@ -112,19 +112,19 @@ namespace NActors { } bool SerializeToArcadiaStream(TChunkSerializer *serializer) const override { - return serializer->WriteString(&Query); - } - - ui32 CalculateSerializedSize() const override { - return Query.size(); - } - - bool IsSerializable() const override { - return true; + return serializer->WriteString(&Query); } + ui32 CalculateSerializedSize() const override { + return Query.size(); + } + + bool IsSerializable() const override { + return true; + } + static IEventBase* Load(TEventSerializedData* bufs) { - return new TEvRemoteHttpInfo(bufs->GetString()); + return new TEvRemoteHttpInfo(bufs->GetString()); } HTTP_METHOD GetMethod() const @@ -149,19 +149,19 @@ namespace NActors { } bool SerializeToArcadiaStream(TChunkSerializer *serializer) const override { - return serializer->WriteString(&Html); - } - - ui32 CalculateSerializedSize() const override { - return Html.size(); - } - - bool IsSerializable() const override { - return true; + return serializer->WriteString(&Html); } + ui32 CalculateSerializedSize() const override { + return Html.size(); + } + + bool IsSerializable() const override { + return true; + } + static IEventBase* Load(TEventSerializedData* bufs) { - return new TEvRemoteHttpInfoRes(bufs->GetString()); + return new TEvRemoteHttpInfoRes(bufs->GetString()); } }; @@ -181,19 +181,19 @@ namespace NActors { } bool SerializeToArcadiaStream(TChunkSerializer *serializer) const override { - return serializer->WriteString(&Json); - } - - ui32 CalculateSerializedSize() const override { - return Json.size(); - } - - bool IsSerializable() const override { - return true; + return serializer->WriteString(&Json); } + ui32 CalculateSerializedSize() const override { + return Json.size(); + } + + bool IsSerializable() const override { + return true; + } + static IEventBase* Load(TEventSerializedData* bufs) { - return new TEvRemoteJsonInfoRes(bufs->GetString()); + return new TEvRemoteJsonInfoRes(bufs->GetString()); } }; @@ -213,19 +213,19 @@ namespace NActors { } bool SerializeToArcadiaStream(TChunkSerializer *serializer) const override { - return serializer->WriteString(&Blob); - } - - ui32 CalculateSerializedSize() const override { - return Blob.size(); - } - - bool IsSerializable() const override { - return true; + return serializer->WriteString(&Blob); } + ui32 CalculateSerializedSize() const override { + return Blob.size(); + } + + bool IsSerializable() const override { + return true; + } + static IEventBase* Load(TEventSerializedData* bufs) { - return new TEvRemoteBinaryInfoRes(bufs->GetString()); + return new TEvRemoteBinaryInfoRes(bufs->GetString()); } }; |