MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / exit

Method exit

src/plugins/performance/mainframe/client.cpp:61–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void Client::exit()
62{
63 jsonrpc::Client sender(tcpSocketClient);
64 Json::Value params(Json::objectValue);
65 Json::Value orgData(Json::objectValue);
66 orgData["params"] = params;
67 std::cout << "exit -->" << std::endl;
68 try {
69 sender.CallNotification("exit", orgData);
70 } catch (jsonrpc::JsonRpcException &e) {
71 std::cerr << e.what() << std::endl;
72 }
73}

Callers 5

createNewSessionMethod · 0.45
checkValidMethod · 0.45
doCheckoutReposMethod · 0.45
stopMethod · 0.45
requestSyncMethod · 0.45

Calls 2

CallNotificationMethod · 0.80
whatMethod · 0.45

Tested by

no test coverage detected