messageelement.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 48 行
HH
48 行
// -*- c-basic-offset: 4 -*-#ifndef CLICK_MESSAGEELEMENT_HH#define CLICK_MESSAGEELEMENT_HH#include <click/element.hh>CLICK_DECLS/*=cMessage(MESSAGE [, TYPE])=s debuggingprints a message on configuration=dThe Message element prints a message, warning, or error when configured. Itcan be used to provide configuration-level documentation. The MESSAGEargument is the message (a string); TYPE should be MESSAGE, WARNING, orERROR. The default is MESSAGE.If TYPE is ERROR the router will fail to initialize.=e Message("This configuration is deprecated; use test-tun.click instead.", WARNING) tun :: KernelTap(1.0.0.1/8); ...=aError */class MessageElement : public Element { public: MessageElement(); ~MessageElement(); const char *class_name() const { return "Message"; } int configure(Vector<String> &, ErrorHandler *);};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?