aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/core/av_bootstrapped.cpp
blob: e1123027926ca00846671bb21345db4b3736d620 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "av_bootstrapped.h"

namespace NActors {

class TEventForStart: public TEventLocalForActor<TEventForStart, TActorAutoStart> {
public:
};

TAutoPtr<NActors::IEventHandle> TActorAutoStart::AfterRegister(const TActorId& self, const TActorId& parentId) {
    return new IEventHandleFat(self, parentId, new TEventForStart, 0);
}

void TActorAutoStart::ProcessEvent(TEventContext<TEventForStart>& ev) {
    DoOnStart(ev.GetHandle().Sender);
}

}