allowRogueTransfers() exposed in Publisher and Subscriber

This commit is contained in:
Pavel Kirienko
2015-04-06 19:21:01 +03:00
parent 7aa30e9cdc
commit 1a8757e54b
4 changed files with 20 additions and 0 deletions
@@ -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.