aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/core/av_bootstrapped.cpp
blob: 771177242ece706c39919d912ce1a79319d7fe7b (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 IEventHandle(self, parentId, new TEventForStart, 0);
}

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

}