⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 timedsink.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
#ifndef CLICK_TIMEDSINK_HH#define CLICK_TIMEDSINK_HH#include <click/element.hh>#include <click/timer.hh>CLICK_DECLS/* * =c * TimedSink(I) * =s sinks * periodically pulls and drops a packet * =d * Pulls one packet every I seconds from its input. * Discards the packet. * =a Shaper */class TimedSink : public Element {  Timer _timer;  int _interval;   public:    TimedSink();  ~TimedSink();    const char *class_name() const		{ return "TimedSink"; }  const char *processing() const		{ return PULL; }    int configure(Vector<String> &, ErrorHandler *);  int initialize(ErrorHandler *);    void run_timer();  };CLICK_ENDDECLS#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -