/** \brief Route packets to destination according to some annotation value
This router takes packet on a single input and directs them to one of it outputs depending
- on a packet annotation. Each output connected will be associated with a single annotation
- value. Incoming packets for which no matching output is found are directed to a default
- output. If this output is left unconnected, those packets will be dropped.
+ on a \link packet_usage_annotation packet annotation\endlink. Each output connected
+ will be associated with a single annotation value. Incoming packets for which no matching
+ output is found are directed to a default output. If this output is left unconnected, those
+ packets will be dropped.
The \a AnnotationType template parameter defines the routing key. This annotation must
support the following operations:
struct DuplicateKeyException : public senf::Exception
{ DuplicateKeyException(AnnotationType const & key)
- : senf::Exception("Duplicate senf::ppi::module::AnnotationRouter routing key")
+ : senf::Exception("Duplicate senf::ppi::module::AnnotationRouter routing key ")
{ append(boost::lexical_cast<std::string>(key)); } };
private: