2#ifndef CLICK_ERRORELEMENT_HH
3#define CLICK_ERRORELEMENT_HH
20class ErrorElement :
public Element {
public:
24 const char *
class_name()
const override {
return "Error"; }
25 const char *
port_count()
const override {
return "-/-"; }
26 const char *
processing()
const override {
return AGNOSTIC; }
27 const char *
flow_code()
const override {
return "x/y"; }
Base class for Click elements.
Definition element.hh:42
virtual const char * processing() const
Return the element's processing specifier.
Definition element.cc:1139
virtual const char * port_count() const
Return the element's port count specifier.
Definition element.cc:710
virtual const char * flow_code() const
Return the element's internal packet flow specifier (its flow code).
Definition element.cc:946
virtual int configure(Vector< String > &conf, ErrorHandler *errh)
Parse the element's configuration arguments.
Definition element.cc:1372
virtual int initialize(ErrorHandler *errh)
Initialize the element.
Definition element.cc:1460
virtual const char * class_name() const =0
Return the element's class name.
Error reporting class.
Definition error.hh:90
Vector template.
Definition vector.hh:111