X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPPI%2FMonitorModule.hh;h=ad99c18047b378079ae50797c6d37b5a9e9ed819;hb=73c33f663ff0f65e4656ea5a5f6f07a43a2e1722;hp=74e7600e0cc1f4a3d3a393fc4940fbf417827b78;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/PPI/MonitorModule.hh b/senf/PPI/MonitorModule.hh index 74e7600..ad99c18 100644 --- a/senf/PPI/MonitorModule.hh +++ b/senf/PPI/MonitorModule.hh @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2009 +// Copyright (C) 2009 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -39,13 +39,13 @@ namespace module { /** \brief Base class providing simple monitor %module support - A monitor %module is a \ref senf::ppi::module::Module "module" which needs information - about traversing packets but does not really act on the packets. Because of this, it is - \e optional to connect the output: If the output is not connected, the packets will be + A monitor %module is a \ref senf::ppi::module::Module "module" which needs information + about traversing packets but does not really act on the packets. Because of this, it is + \e optional to connect the output: If the output is not connected, the packets will be silently dropped. This allows to add monitor modules either into an existing chain or add them using an - ActiveDuplicator. + ActiveDuplicator. To write a monitor %module, derive from senf::ppi::module::MonitorModule instead of senf::ppi::module and implement v_handlePacket(): @@ -89,7 +89,7 @@ namespace module { void throttle(); void unthrottle(); }; - + }}}