+void mp::filter::Bounce::configure(const xmlNode * ptr, bool test_only,
+ const char *path)
+{
+ for (ptr = ptr->children; ptr; ptr = ptr->next)
+ {
+ if (ptr->type != XML_ELEMENT_NODE)
+ continue;
+ else if (!strcmp((const char *) ptr->name, "echo"))
+ {
+ m_p->echo = mp::xml::get_bool(ptr, 0);
+ }
+ else
+ {
+ throw mp::filter::FilterException
+ ("Bad element '"
+ + std::string((const char *) ptr->name)
+ + "' in bounce filter");
+ }
+ }
+
+}
+