Lines Matching refs:hSession

217         if (!hdi->hSession) {
218 WRITE_LOG(LOG_FATAL, "SendToDaemon hdi->hSession nullptr");
221 if (ptrServer->Send(hdi->hSession->sessionId, hChannel->channelId, commandFlag, bufPtr, bufSize) < 0) {
353 (reinterpret_cast<HdcServer *>(ptrServer))->FreeSession(hdiOld->hSession->sessionId);
373 HSession hSession = ptrServer->AdminSession(OP_QUERY, hfi->sessionId, nullptr);
374 if (!hSession) {
375 WRITE_LOG(LOG_FATAL, "CommandRemoveForward hSession nullptr sessionId:%u", hfi->sessionId);
379 ptrServer->ClearOwnTasks(hSession, hfi->channelId);
587 HSession hSession = FindAliveSession(hChannel->targetSessionId);
588 if (!hSession) {
600 ptrServer->DispatchTaskData(hSession, hChannel->channelId, formatCommand->cmdFlag,
700 HSession hSession = nullptr;
712 if (hdi->hSession->isDead) {
716 if (!hdi->hSession->handshakeOK) {
717 WRITE_LOG(LOG_WARN, "hSession handShake is false sid:%u cid:%u",
718 hdi->hSession->sessionId, hChannel->channelId);
724 hSession = reinterpret_cast<HSession>(hdi->hSession);
725 return hSession;
752 HSession hSession = nullptr;
753 if ((hSession = thisClass->FindAliveSessionFromDaemonMap(hChannel)) == nullptr) {
754 WRITE_LOG(LOG_FATAL, "hSession nullptr channelId:%u", hChannel->channelId);
758 Base::SendToPollFd(hSession->ctrlFd[STREAM_MAIN], ctrl.data(), ctrl.size());
777 if (!hdiOld->hSession) {
778 WRITE_LOG(LOG_WARN, "hSession is null. channelId:%u", hChannel->channelId);
781 if (!hdiOld->hSession->handshakeOK) {
782 WRITE_LOG(LOG_WARN, "hSession handShake is false SessionId:%u", hdiOld->hSession->sessionId);
891 HSession hSession = ptrServer->AdminSession(OP_QUERY, sessionId, nullptr);
892 if (!hSession || hSession->isDead) {
893 WRITE_LOG(LOG_FATAL, "FindAliveSession hSession nullptr or isDead sessionId:%u", sessionId);
896 return hSession;
902 HSession hSession = FindAliveSession(sessionId);
903 if (!hSession) {
904 WRITE_LOG(LOG_FATAL, "ChannelSendSessionCtrlMsg hSession nullptr sessionId:%u", sessionId);
907 int rc = Base::SendToPollFd(hSession->ctrlFd[STREAM_MAIN], ctrlMsg.data(), ctrlMsg.size());