X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FRoute.ct;h=fc6ef5bbd31175976fa2e16d748c758d1bede57e;hb=ae06fe86f16fdabb7ffb219d255444d2eb4f4f79;hp=fb1cc0c4e0c5333270bd7ba328d9c389465bf400;hpb=7465ea4f6d3d54622bd783106cf8b60d5f133343;p=senf.git diff --git a/PPI/Route.ct b/PPI/Route.ct index fb1cc0c..fc6ef5b 100644 --- a/PPI/Route.ct +++ b/PPI/Route.ct @@ -55,6 +55,15 @@ senf::ppi::detail::ForwardingRouteImplementation::v_notifyUnthrot } } +template +prefix_ bool senf::ppi::detail::ForwardingRouteImplementation::v_throttled() + const +{ + return this->autoThrottling() && ( + throttled(this->source(),boost::mpl::bool_::notifySource>()) || + throttled(this->target(),boost::mpl::bool_::notifySource>()) ); +} + ///////////////////////////////ct.e//////////////////////////////////////// #undef prefix_