MCPcopy Create free account
hub / github.com/Forairaaaaa/mooncake / onOpen

Method onOpen

example/basic_demo.cpp:30–33  ·  view source on GitHub ↗

重载生命周期回调函数

Source from the content-addressed store, hash-verified

28
29 // 重载生命周期回调函数
30 void onOpen() override
31 {
32 printf("[%s] on open\n", getAppInfo().name.c_str());
33 }
34 void onRunning() override
35 {
36 printf("[%s] on running\n", getAppInfo().name.c_str());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected