server.cc File Reference

handle packets intended for the server: administration, public IQ (agents, etc) More...

#include "jsm.h"

Functions

void js_server_main (void *arg)

Detailed Description

handle packets intended for the server: administration, public IQ (agents, etc)


Function Documentation

void js_server_main ( void *  arg  ) 

handle a packet addressed to the server itself (no node part in the JID)

Pass the packet to the modules, that registered for the e_SERVER event. If none of the modules handled the packet, it is bounced as "not-found".

Parameters:
arg jpq structure containing the session manager instance data and the packet

References e_SERVER, jpacket_struct::from, js_bounce_xmpp(), js_islocal(), js_mapi_call(), js_user(), log_debug2, LOGT_DELIVER, jpq_struct::p, udata_struct::ref, jpq_struct::si, jpacket_struct::x, xmlnode_serialize_string(), XTERROR_NOTFOUND, and ZONE.


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