serialization.cc File Reference

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)

Detailed Description

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.


Function Documentation

void jsm_deserialize ( jsmi  si,
const char *  host 
)

deserialize session manager data

Parameters:
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  ) 

Generated on Thu Mar 11 06:00:07 2010 for jabberd14 by  doxygen 1.6.1