MCPcopy Create free account
hub / github.com/caozhiyi/CppNet / SetDisconnectionCallback

Method SetDisconnectionCallback

net/CppNetImpl.cpp:109–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void CCppNetImpl::SetDisconnectionCallback(const connection_call_back& func) {
110 _disconnection_call_back = func;
111}
112
113uint64_t CCppNetImpl::SetTimer(uint32_t interval, const std::function<void(void*)>& func, void* param, bool always) {
114

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected