X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FRoute.cci;h=0a3117ad84a03274f5527f08fc9259c7e90fc4bb;hb=f2f5d59e83863f3b513950173baee1b6da2aee3c;hp=f0e22796d54ee0bb59c84f5f461b10fd862e1258;hpb=7465ea4f6d3d54622bd783106cf8b60d5f133343;p=senf.git diff --git a/PPI/Route.cci b/PPI/Route.cci index f0e2279..0a3117a 100644 --- a/PPI/Route.cci +++ b/PPI/Route.cci @@ -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 @@ -47,6 +47,7 @@ prefix_ senf::ppi::RouteBase::RouteBase(module::Module & module) // senf::ppi::ForwardingRoute prefix_ bool senf::ppi::ForwardingRoute::autoThrottling() + const { return autoThrottling_; } @@ -56,6 +57,12 @@ prefix_ void senf::ppi::ForwardingRoute::autoThrottling(bool state) autoThrottling_ = state; } +prefix_ bool senf::ppi::ForwardingRoute::throttled() + const +{ + return v_throttled(); +} + //////////////////////////////////////// // protected members @@ -63,11 +70,6 @@ prefix_ senf::ppi::ForwardingRoute::ForwardingRoute(module::Module & module) : RouteBase(module), autoThrottling_(true) {} -prefix_ void senf::ppi::ForwardingRoute::registerRoute(connector::ActiveConnector & connector) -{ - connector.registerRoute(*this); -} - //////////////////////////////////////// // private members