+
+/** 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.add_property ("ignore-bitslot", "1");
+ state.add_property ("ignore-name", "1");
+
+ XMLNode* io_node = state.child (IO::state_node_name.c_str());
+
+ if (io_node) {
+ IO::prepare_for_reset (*io_node, name);
+ }
+}