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

David Waite dwaite at jabber.com
Tue Nov 7 11:23:49 CST 2000


The <agents> block in the jabber.xml file is basically a structure 
echoed to clients when they request a list of services a server 
'supports', as far as I know this structure has no other purpose: it is 
for clients only.

<service> blocks are for components which the server trusts and would 
like to use - these are the ICQ-transport.groupchat, etc. These also 
contain any connection information, such as library to load in, program 
to execute, ip and port to connect to, etc.

Also, Dennis - most probably the reason for your problem is that you are 
fetching the in-development 1.3 branch rather than 1.2 :)

-David Waite

Dennis Noordsij wrote:

> 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
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev







More information about the JDev mailing list