diff options
Diffstat (limited to 'conf.d/project')
-rw-r--r-- | conf.d/project/lua.d/onload-daemon-04-oncall.lua | 10 | ||||
-rw-r--r-- | conf.d/project/vscode.d/c_cpp_properties.json (renamed from conf.d/project/.vscode/c_cpp_properties.json) | 0 |
2 files changed, 5 insertions, 5 deletions
diff --git a/conf.d/project/lua.d/onload-daemon-04-oncall.lua b/conf.d/project/lua.d/onload-daemon-04-oncall.lua index 4e78fd8..b450932 100644 --- a/conf.d/project/lua.d/onload-daemon-04-oncall.lua +++ b/conf.d/project/lua.d/onload-daemon-04-oncall.lua @@ -54,17 +54,17 @@ function _Test_Call_Async (request, args) } AFB:notice ("Test_Call_Async args=%s cb=Test_Async_CB", args) - AFB:service("alsacore","ping", "Test_Async_CB", context) + AFB:service("monitor","ping", "Test_Async_CB", context) end -function _Test_Call_Sync (request, args) +function _Simple_Monitor_Call (request, args) - AFB:notice ("Test_Call_Sync args=%s", args) - local err, response= AFB:servsync ("alsacore","ping", args) + AFB:notice ("_Simple_Server_Call args=%s", args) + local err, result= AFB:servsync ("monitor","get", args) if (err) then AFB:fail ("AFB:service_call_sync fail"); else - AFB:success (request, response) + AFB:success (request, result["response"]) end end diff --git a/conf.d/project/.vscode/c_cpp_properties.json b/conf.d/project/vscode.d/c_cpp_properties.json index 5512cb3..5512cb3 100644 --- a/conf.d/project/.vscode/c_cpp_properties.json +++ b/conf.d/project/vscode.d/c_cpp_properties.json |