mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-24 01:09:51 +00:00
add SetProcessor
Signed-off-by: zona <qiudefen@huawei.com>
This commit is contained in:
parent
ca025c15d5
commit
deaf61b388
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user