Lines Matching refs:session_name
353 int NtfyObjMgr::RegisterSession(int session_name, ISessionNtfy* session) in RegisterSession() argument
355 if (session_name <= 0 || NULL == session) { in RegisterSession()
356 MTLOG_ERROR("session %d, register %p failed", session_name, session); in RegisterSession()
360 SessionMap::iterator it = _session_map.find(session_name); in RegisterSession()
363 MTLOG_ERROR("session %d, register %p already", session_name, session); in RegisterSession()
367 _session_map.insert(SessionMap::value_type(session_name, session)); in RegisterSession()
372 ISessionNtfy* NtfyObjMgr::GetNameSession(int session_name) in GetNameSession() argument
374 SessionMap::iterator it = _session_map.find(session_name); in GetNameSession()
385 KqueuerObj* NtfyObjMgr::GetNtfyObj(int type, int session_name) in GetNtfyObj() argument
409 ISessionNtfy* ntfy = this->GetNameSession(session_name); in GetNtfyObj()
411 MTLOG_ERROR("ntfy get session name(%d) failed", session_name); in GetNtfyObj()