[jdev] Re: Adding Contacts to other rosters
Peter Saint-Andre
stpeter at jabber.org
Mon Oct 25 18:36:18 CDT 2004
In article <416E5B96.9000606 at z17.net>, Erich Buri <buri at z17.net> wrote:
> Hello,
>
> I would like to connect several devices together using XMPP. Now, in
> order to be able to say which devices should talk to each other, I
> wanted to "connect" them by putting they're JID's on they're rosters.
>
> How could I add contacts to the roster of a device? I was thinking about
> accessing directly the sm_db. (I'use jabberd2 with Berkeley-DB as
> storage-system). But it looks pretty complicated because the storage
> system is very generic.
>
> Can I develope a component that directly forges subscription-messages
> and sends them to the Session-Manager.
>
> I can also think about implementing a logic into the device that tells
> one device to add a certain JID to his roster. But this gets pretty ugly
> when I require that devices somehow veryfi subscription-requests....
>
> Has anybody done something like this before?
This may be helpful:
http://www.jabber.org/jeps/jep-0144.html
/psa
More information about the JDev
mailing list