Searched refs:ErrCode (Results 1 – 4 of 4) sorted by relevance
81 ErrCode code = SPTask::GetInstance().InitTask(SplitMsg(recvStr)); in DealMsg()82 if (code == ErrCode::OK) { in DealMsg()84 } else if (code == ErrCode::FAILED) { in DealMsg()89 ErrCode code = SPTask::GetInstance().StartTask(lambdaTask); in DealMsg()90 if (code == ErrCode::OK) { in DealMsg()92 } else if (code == ErrCode::FAILED) { in DealMsg()
40 enum class ErrCode { enum59 ErrCode InitTask(std::string recvStr);60 ErrCode StartTask(std::function<void(std::string data)> msgTask);
75 ErrCode SPTask::InitTask(std::string recvStr) in InitTask()80 return ErrCode::OK; in InitTask()83 return ErrCode::FAILED; in InitTask()85 ErrCode SPTask::StartTask(std::function<void(std::string data)> msgTask) in StartTask()88 return ErrCode::FAILED; in StartTask()117 return ErrCode::OK; in StartTask()
57 class ErrCode(): class in CONSTANT