X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FRoute.ct;h=4482f7cf4465d4f4523483e8f2058e1833e7f0a0;hb=92f8630b75f3ef50e73c48cde58645dcd1534e27;hp=fb1cc0c4e0c5333270bd7ba328d9c389465bf400;hpb=7465ea4f6d3d54622bd783106cf8b60d5f133343;p=senf.git diff --git a/PPI/Route.ct b/PPI/Route.ct index fb1cc0c..4482f7c 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) +// Copyright (C) 2007 +// 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_