Home
last modified time | relevance | path

Searched refs:AsyncMsgHandler (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/ai/ai_engine/services/server/server_executor/source/
H A Dasync_msg_handler.cpp28 AsyncMsgHandler::AsyncMsgHandler(Queue<Task> &g_queue, IPlugin *pluginAlgorithm) in AsyncMsgHandler() function in OHOS::AI::AsyncMsgHandler
33 int AsyncMsgHandler::Process(const Task &task) in Process()
50 int AsyncMsgHandler::OnEvent(PluginEvent event, IResponse *response) in OnEvent()
61 void AsyncMsgHandler::SetPluginAlgorithm(IPlugin *pluginAlgorithm) in SetPluginAlgorithm()
71 int AsyncMsgHandler::SendRequest(IRequest *request) in SendRequest()
H A Dengine.cpp82 AIE_NEW(msgHandler_, AsyncMsgHandler(*queue_, plugin_->GetPluginAlgorithm())); in Initialize()
163 AsyncMsgHandler *handler = reinterpret_cast<AsyncMsgHandler *>(msgHandler_); in AsyncExecute()
/ohos5.0/foundation/ai/ai_engine/services/server/server_executor/include/
H A Dasync_msg_handler.h30 class AsyncMsgHandler : public IHandler, public IPluginCallback {
32 AsyncMsgHandler(Queue<Task> &queue, IPlugin *pluginAlgorithm);
33 ~AsyncMsgHandler() override = default;