File tree 5 files changed +31
-22
lines changed
5 files changed +31
-22
lines changed Original file line number Diff line number Diff line change 3
3
#include < ydb/core/tablet/tablet_setup.h>
4
4
#include < ydb/core/base/tablet.h>
5
5
#include < ydb/core/base/blobstorage.h>
6
+ #include < ydb/library/actors/core/event_simple_non_local.h>
6
7
7
8
namespace NKikimr {
8
9
Original file line number Diff line number Diff line change @@ -373,26 +373,4 @@ namespace NActors {
373
373
typedef TEventHandle<TEventType> THandle;
374
374
typedef TAutoPtr<THandle> TPtr;
375
375
};
376
-
377
-
378
- // Non-local event with empty serialization
379
- template <typename TEv, ui32 TEventType>
380
- class TEventSimpleNonLocal : public TEventBase <TEv, TEventType> {
381
- public:
382
- TString ToStringHeader () const override {
383
- return TypeName<TEv>();
384
- }
385
-
386
- bool SerializeToArcadiaStream (TChunkSerializer* /* serializer*/ ) const override {
387
- return true ;
388
- }
389
-
390
- bool IsSerializable () const override {
391
- return true ;
392
- }
393
-
394
- static IEventBase* Load (TEventSerializedData*) {
395
- return new TEv ();
396
- }
397
- };
398
376
}
Original file line number Diff line number Diff line change
1
+ #pragma once
2
+
3
+ #include " event.h"
4
+ #include " event_load.h"
5
+ #include < util/system/type_name.h>
6
+
7
+ namespace NActors {
8
+ // Non-local event with empty serialization
9
+ template <typename TEv, ui32 TEventType>
10
+ class TEventSimpleNonLocal : public TEventBase <TEv, TEventType> {
11
+ public:
12
+ TString ToStringHeader () const override {
13
+ return TypeName<TEv>();
14
+ }
15
+
16
+ bool SerializeToArcadiaStream (TChunkSerializer* /* serializer*/ ) const override {
17
+ return true ;
18
+ }
19
+
20
+ bool IsSerializable () const override {
21
+ return true ;
22
+ }
23
+
24
+ static IEventBase* Load (TEventSerializedData*) {
25
+ return new TEv ();
26
+ }
27
+ };
28
+ }
Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
3
#include " event_local.h"
4
+ #include " event_simple_non_local.h"
4
5
#include " event_pb.h"
5
6
6
7
#include < util/system/unaligned_mem.h>
Original file line number Diff line number Diff line change 10
10
11
11
#include < ydb/library/actors/core/event_local.h>
12
12
#include < ydb/library/actors/core/event_pb.h>
13
+ #include < ydb/library/actors/core/event_simple_non_local.h>
13
14
#include < ydb/library/actors/core/events.h>
14
15
15
16
namespace NYql ::NDqs {
You can’t perform that action at this time.
0 commit comments