[JDEV] IQ queries sent to client vs. handled by server?

Thomas Charron tcharron at ductape.net
Wed Aug 1 21:56:26 CDT 2001


Quoting Jens Alfke <jens at mac.com>:
> On Wednesday, August 1, 2001, at 01:47 PM, Thomas Charron wrote:
> >   Then this would need to be handled by a servside module. The 
> > serverside
> > modules can and will recieve ALL iq requests, it's up to the module as
> > to if
> > the module is going to let it pass thru to the client or not..  Easy
> > enough...
> OK, I'm totally confused now. Does Jeremie's draft describe what 
> actually exists in the server now, or is it just some hypothetical 
> thing? If the latter, then what happens today if I send a get request 
> with a namespace that's not known to the server?

  DoH!  I stand corrected.  The server has this currently implemented as a 
server module ALREADY as mod_xml.  The applicable cose is located at 
http://download.jabber.org/cvs/jabber2/jsm/modules/mod_xml.c

  It functions exactly as the document specs...

> I have no interest in writing a server-side module, I just want to 
> define a protocol extension that instances of my client can use. Please
> don't tell me that the server has to be hacked whenever clients want to
> use a new namespace to communicate with each other!

  To communicate with eachother, nope.  To have the server support doing 
something?  Yes, but in this case, Jer already did the work to have the server 
handle it for you..  8-P

  Basically, do a set on ANY *NON* jabber:* namespace, and it will store it.

--- 
Thomas Charron
<< Wanted: One decent sig >>
<< Preferably litle used  >>



More information about the JDev mailing list