• Home
  • Raw
  • Download

Lines Matching refs:hSession

216         if (!hdi->hSession) {  in SendToDaemon()
220 …if (ptrServer->Send(hdi->hSession->sessionId, hChannel->channelId, commandFlag, bufPtr, bufSize) <… in SendToDaemon()
349 (reinterpret_cast<HdcServer *>(ptrServer))->FreeSession(hdiOld->hSession->sessionId); in CommandRemoveSession()
362 HSession hSession = ptrServer->AdminSession(OP_QUERY, hfi->sessionId, nullptr); in CommandRemoveForward() local
363 if (!hSession) { in CommandRemoveForward()
368 ptrServer->ClearOwnTasks(hSession, hfi->channelId); in CommandRemoveForward()
578 HSession hSession = FindAliveSession(hChannel->targetSessionId); in TaskCommand() local
579 if (!hSession) { in TaskCommand()
591 ptrServer->DispatchTaskData(hSession, hChannel->channelId, formatCommand->cmdFlag, in TaskCommand()
692 HSession hSession = nullptr; in FindAliveSessionFromDaemonMap() local
704 if (hdi->hSession->isDead) { in FindAliveSessionFromDaemonMap()
708 hSession = reinterpret_cast<HSession>(hdi->hSession); in FindAliveSessionFromDaemonMap()
709 return hSession; in FindAliveSessionFromDaemonMap()
736 HSession hSession = nullptr; in BindChannelToSession() local
737 if ((hSession = thisClass->FindAliveSessionFromDaemonMap(hChannel)) == nullptr) { in BindChannelToSession()
742 Base::SendToPollFd(hSession->ctrlFd[STREAM_MAIN], ctrl.data(), ctrl.size()); in BindChannelToSession()
859 HSession hSession = ptrServer->AdminSession(OP_QUERY, sessionId, nullptr); in FindAliveSession() local
860 if (!hSession || hSession->isDead) { in FindAliveSession()
864 return hSession; in FindAliveSession()
870 HSession hSession = FindAliveSession(sessionId); in ChannelSendSessionCtrlMsg() local
871 if (!hSession) { in ChannelSendSessionCtrlMsg()
876 return Base::SendToPollFd(hSession->ctrlFd[STREAM_MAIN], ctrlMsg.data(), ctrlMsg.size()) > 0; in ChannelSendSessionCtrlMsg()