functions for serialization an deserialization of JSM state More...
#include "jsm.h"Functions | |
| void | jsm_serialize (jsmi si) |
| void | jsm_deserialize (jsmi si, const char *host) |
functions for serialization an deserialization of JSM state
Contains code to serialize all necessary state information of JSM to a XML file which can be used to restart the session manager resuming the handling of existing user sessions.
| void jsm_deserialize | ( | jsmi | si, | |
| const char * | host | |||
| ) |
deserialize session manager data
| si | the session manager, that receives the deserialized data | |
| host | the host to deserialize |
References jsmi_struct::i, instance_struct::id, log_notice(), jsmi_struct::statefile, jsmi_struct::std_namespace_prefixes, xmlnode_file(), xmlnode_free(), xmlnode_get_tags(), and xmlnode_pool().
| void jsm_serialize | ( | jsmi | si | ) |
serialize session manager data
References jsmi_struct::hosts, NS_JABBERD_STOREDSTATE, jsmi_struct::statefile, xhash_walk(), xmlnode2file(), xmlnode_free(), and xmlnode_new_tag_ns().
1.6.1