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

📄 watchdog.h

📁 运行于linux上的CIMS套件
💻 H
字号:
#ifndef ns_watchdog_h#define ns_watchdog_h#include "agent.h"class Watchdog_Agent;class Watchdog_Timer : public TimerHandler {public:	Watchdog_Timer(Watchdog_Agent *a) : TimerHandler() { a_ = a; }protected:	virtual void expire(Event *e);	Watchdog_Agent *a_;};class Watchdog_Agent : public Agent { public:	Watchdog_Agent();	int command(int argc, const char*const* argv);	virtual void timeout(int); protected:	void start();	void initimer();		void stop();	virtual void sendpkt();	int running_;	int random_;	int maxpkts_;	double interval_;	int seqno_;		Watchdog_Timer cbr_timer_;	int off_rtp_;};#endif

⌨️ 快捷键说明

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