mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 14:43:33 +08:00
allowRogueTransfers() exposed in Publisher and Subscriber
This commit is contained in:
@@ -196,6 +196,15 @@ protected:
|
||||
return genericStart(&Dispatcher::registerServiceResponseListener);
|
||||
}
|
||||
|
||||
/**
|
||||
* By default, rogue transfers will be ignored.
|
||||
* This option allows to enable reception of rogue transfers.
|
||||
*/
|
||||
void allowRogueTransfers()
|
||||
{
|
||||
forwarder_->allowRogueTransfers();
|
||||
}
|
||||
|
||||
/**
|
||||
* Terminate the subscription.
|
||||
* Dispatcher core will remove this instance from the subscribers list.
|
||||
|
||||
Reference in New Issue
Block a user