+
+/** Set up the XML description of a send so that we will not
+ * reset its name or bitslot during ::set_state()
+ * @param state XML send state.
+ * @param session Session.
+ */
+void
+IOProcessor::prepare_for_reset (XMLNode &state, const std::string& name)
+{
+ state.set_property ("ignore-bitslot", true);
+ state.set_property ("ignore-name", true);
+
+ XMLNodeList nlist = state.children();
+ XMLNodeIterator niter;
+
+ for (niter = nlist.begin(); niter != nlist.end(); ++niter) {
+ if ((*niter)->name() == IO::state_node_name.c_str()) {
+ IO::prepare_for_reset (**niter, name);
+ }
+ }
+}