diff options
Diffstat (limited to 'src/hs-clientmanager.cpp')
-rw-r--r-- | src/hs-clientmanager.cpp | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/hs-clientmanager.cpp b/src/hs-clientmanager.cpp index 83d6bb3..1128b01 100644 --- a/src/hs-clientmanager.cpp +++ b/src/hs-clientmanager.cpp @@ -17,6 +17,7 @@ #include <cstring> #include <algorithm> #include "hs-clientmanager.h" +#include "hs-apprecover.h" static const char _homescreen[] = "homescreen"; @@ -187,7 +188,7 @@ int HS_ClientManager::handleRequest(afb_req_t request, const char *verb, const c appid2ctxt[appid] = createClientCtxt(request, appid); HS_Client* client = addClient(request, appid); ret = client->handleRequest(request, "subscribe"); - registerApplication(appid); + HS_AppRecover::instance()->registerRecoveredApp(std::string(appid)); } else { AFB_NOTICE("not exist session"); @@ -232,19 +233,4 @@ int HS_ClientManager::pushEvent(const char *event, struct json_object *param, st } return 0; -} - -/** - * register recovered application - * - * #### Parameters - * - appid : application id - * - * #### Return - * None - * - */ -void HS_ClientManager::registerApplication(std::string appid) -{ - }
\ No newline at end of file |