• Home
  • Raw
  • Download

Lines Matching refs:commands

192 int RunClientMode(string &commands, string &serverListenString, string &connectKey, bool isPullServ…  in RunClientMode()  argument
199 HdcClient client(false, serverListenString, &loopMain, commands == CMDSTR_CHECK_SERVER); in RunClientMode()
200 if (!commands.size()) { in RunClientMode()
205 if (!strncmp(commands.c_str(), CMDSTR_SERVICE_START.c_str(), CMDSTR_SERVICE_START.size()) || in RunClientMode()
206 !strncmp(commands.c_str(), CMDSTR_SERVICE_KILL.c_str(), CMDSTR_SERVICE_KILL.size()) || in RunClientMode()
207 !strncmp(commands.c_str(), CMDSTR_GENERATE_KEY.c_str(), CMDSTR_GENERATE_KEY.size())) { in RunClientMode()
208 client.CtrlServiceWork(commands.c_str()); in RunClientMode()
217 client.ExecuteCommand(commands.c_str()); in RunClientMode()
437 string commands; in main() local
438 Hdc::SplitOptionAndCommand(argc, argv, options, commands); in main()
462 Hdc::RunClientMode(commands, g_serverListenString, g_connectKey, g_isPullServer); in main()
467 if (!strncmp(commands.c_str(), CMDSTR_LIST_TARGETS.c_str(), CMDSTR_LIST_TARGETS.size())) { in main()
469 if (!strncmp(commands.c_str(), lista.c_str(), lista.size())) { in main()
472 str = commands; in main()
476 …} else if (!strncmp(commands.c_str(), CMDSTR_SOFTWARE_VERSION.c_str(), CMDSTR_SOFTWARE_VERSION.siz… in main()
477 … !strncmp(commands.c_str(), CMDSTR_SOFTWARE_HELP.c_str(), CMDSTR_SOFTWARE_HELP.size()) || in main()
478 … !strncmp(commands.c_str(), CMDSTR_TARGET_DISCOVER.c_str(), CMDSTR_TARGET_DISCOVER.size()) || in main()
479 … !strncmp(commands.c_str(), CMDSTR_SERVICE_START.c_str(), CMDSTR_SERVICE_START.size()) || in main()
480 … !strncmp(commands.c_str(), CMDSTR_SERVICE_KILL.c_str(), CMDSTR_SERVICE_KILL.size()) || in main()
481 !strncmp(commands.c_str(), CMDSTR_WAIT_FOR.c_str(), CMDSTR_WAIT_FOR.size())) { in main()
482 Hdc::RunExternalClient(commands, g_connectKey, g_containerInOut); in main()
483 Hdc::RunClientMode(commands, g_serverListenString, g_connectKey, g_isPullServer); in main()
484 …} else if (!strncmp(commands.c_str(), CMDSTR_CONNECT_TARGET.c_str(), CMDSTR_CONNECT_TARGET.size())… in main()
485 …!strncmp(commands.c_str(), CMDSTR_TARGET_MODE.c_str(), CMDSTR_TARGET_MODE.size()) || g_externalCmd… in main()
486 Hdc::RunExternalClient(commands, g_connectKey, g_containerInOut); in main()
503 Hdc::RunExternalClient(commands, g_connectKey, g_containerInOut); in main()
505 Hdc::RunClientMode(commands, g_serverListenString, g_connectKey, g_isPullServer); in main()