MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / Client

Method Client

libapp2sys/src/main/cpp/client.h:404–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402
403public:
404 Client() {
405 m_enable = 1; // DEFAULT is enabled
406 std::string m_remote = "";
407 m_port = 0;
408 std::string m_local = "";
409 m_retryConnectInterval = 30; // 30 sec
410 m_lastConnect = 0;
411
412 m_pClientEngine = NULL;
413 m_pC2JavaCallback = NULL;
414 }
415
416 void setEnable(int enableFlag) {
417 bool restrart = m_enable == 0 && enableFlag;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected