[JDEV] <agent/> vs. <service/>

Dennis Noordsij dennis.noordsij at wiral.com
Tue Nov 7 10:49:20 CST 2000


On Tuesday 07 November 2000 18:03, Brian Lalor wrote:
> Do you need to provide both an agent and a service section of the
> jabber.xml, or one or the other?
>
> I'd *really* love to see *some* documentation on how to add and configure
> agents...

There is an ICQ transport in the jabber CVS, I do not wether it is accurate 
for 1.0, for 1.2, or not at all :-) but it explains how to setup an xml file 
for the agent itself (similair to the <jabber> service in the main 
jabber.xml, with it's own everything) and how to add a small agents entry in 
jabber.xml.

In jabber.xml you simply have a small section (under agents) and you name the 
agent (for example ICQ) and then in the other xml file (as shown in ICQ 
transport, but I guess you can use the normal jabber.xml as well) you create 
the service for <ICQ> (similair to the large section in jabber.xml devoted to 
the actual jabber service. It has it's own registration tags etc)

I haven't actually used that agent, and frankly my CVS jabber2 doesn't even 
compile (client.h in pthsock refers to a non-existing karma.h file) but it 
does make sense with regard to the agent/service setup.


Read the ICQ-transport stuff from the CVS :-)

And let me know if you get it to work!
Regards,
Dennis




More information about the JDev mailing list