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

📄 handlerproxy.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
#ifndef CLICK_HANDLERPROXY_HH#define CLICK_HANDLERPROXY_HH#include <click/element.hh>CLICK_DECLSclass HandlerProxy : public Element { public:    typedef ErrorHandler* (*ErrorReceiverHook)(const String&, void*);      HandlerProxy();    ~HandlerProxy();    virtual int add_error_receiver(ErrorReceiverHook, void*);    virtual int remove_error_receiver(ErrorReceiverHook, void*);    virtual int check_handler(const String&, bool write, ErrorHandler*);      enum {	CSERR_OK		= 200,	CSERR_SYNTAX		= 500,	CSERR_NO_SUCH_ELEMENT	= 510,	CSERR_NO_SUCH_HANDLER	= 511,	CSERR_HANDLER_ERROR	= 520,	CSERR_PERMISSION	= 530,	CSERR_NO_ROUTER		= 540,	CSERR_UNSPECIFIED	= 590    };    protected:    struct ErrorReceiver {	ErrorReceiverHook hook;	void* thunk;    };      ErrorReceiver* _err_rcvs;    int _nerr_rcvs;  };CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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