add SetProcessor

Signed-off-by: zona <qiudefen@huawei.com>
This commit is contained in:
zona 2024-05-27 16:27:35 +08:00
parent ca025c15d5
commit deaf61b388

View File

@ -47,6 +47,12 @@ public:
GetSender().Send(content);
}
void SetProcessor(std::shared_ptr<WifiDirectProcessor> processor)
{
std::lock_guard lock(processorLock_);
processor_ = processor;
}
WifiDirectEventDispatcher WaitEvent();
protected: