// $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 <g0dil@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
\brief Route inline non-template implementation */
// Custom includes
+#include "Connectors.hh"
+#include "Events.hh"
#define prefix_ inline
///////////////////////////////cci.p///////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// senf::ppi::RouteBase
+prefix_ senf::ppi::RouteBase::~RouteBase()
+{}
+
////////////////////////////////////////
// protected members
: module_(&module)
{}
+///////////////////////////////////////////////////////////////////////////
+// senf::ppi::ForwardingRoute
+
+prefix_ bool senf::ppi::ForwardingRoute::autoThrottling()
+ const
+{
+ return autoThrottling_;
+}
+
+prefix_ void senf::ppi::ForwardingRoute::autoThrottling(bool state)
+{
+ autoThrottling_ = state;
+}
+
+prefix_ bool senf::ppi::ForwardingRoute::throttled()
+ const
+{
+ return v_throttled();
+}
+
+////////////////////////////////////////
+// protected members
+
+prefix_ senf::ppi::ForwardingRoute::ForwardingRoute(module::Module & module)
+ : RouteBase(module), autoThrottling_(true)
+{}
+
+////////////////////////////////////////
+// private members
+
+prefix_ void senf::ppi::ForwardingRoute::notifyThrottle()
+{
+ v_notifyThrottle();
+}
+
+prefix_ void senf::ppi::ForwardingRoute::notifyUnthrottle()
+{
+ v_notifyUnthrottle();
+}
+
///////////////////////////////cci.e///////////////////////////////////////
#undef prefix_