X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FRoute.ct;h=f20b1e8920a152ede6b8a7030033f51a6679a231;hb=ed0e2329281a50f80be8425938c17515fa70661b;hp=fb1cc0c4e0c5333270bd7ba328d9c389465bf400;hpb=7465ea4f6d3d54622bd783106cf8b60d5f133343;p=senf.git diff --git a/PPI/Route.ct b/PPI/Route.ct index fb1cc0c..f20b1e8 100644 --- a/PPI/Route.ct +++ b/PPI/Route.ct @@ -1,8 +1,8 @@ // $Id$ // // Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -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_