| 313 | } |
| 314 | |
| 315 | void TcpKeepNtfy::KeepaliveClose() |
| 316 | { |
| 317 | if (_keep_conn) { |
| 318 | MTLOG_DEBUG("remote close, fd %d, close connection", _fd); |
| 319 | ConnectionMgr::Instance()->CloseIdleTcpKeep(_keep_conn); |
| 320 | } else { |
| 321 | MTLOG_ERROR("_keep_conn ptr null, error"); |
| 322 | } |
| 323 | } |
| 324 | |
| 325 | NtfyObjMgr* NtfyObjMgr::_instance = NULL; |
| 326 | NtfyObjMgr* NtfyObjMgr::Instance (void) |
nothing calls this directly
no test coverage detected