Gerard BUNEL a écrit :

> DJ Adams a écrit :
>
> > On Thu, Jun 28, 2001 at 06:28:29PM +0200, Gerard BUNEL wrote:
> > > Hello,
> > >
> > > I need some help on server side development.
> > > I've writen a module in replacement to the standard mod_presence
> > > The objective of this module is to route presence messages to a service
> > > wich is writen in Java
> > > using jabberbeans and the CONNECT mode.
> > >
> > > So I wrote function to route some mesages
> > >
> > > void route_packet(mapi m) {
> > >   xmlnode node = xmlnode_dup(m->packet->x);
> > >   node = xmlnode_wrap(node, "route");
> > >   xmlnode_put_attrib(node, "to", packet_to);
> > >   deliver(dpacket_new(node), m->si->i);
> > > }
> >
> > Hi
> >
> > What's 'packet_to'?
> >
>
> That's simply a global variable containing the service name
>

I Also noticed this logs from the server:

20010629T05:25:55: [warn] (-internal): jsm: Invalid Recipient, returning data
<presence from='[EMAIL PROTECTED]/Jabber Instant
Messenger'><status>Online</status><priority>1</priority></presence>


>
> >
> > dj
> > _______________________________________________
> > jdev mailing list
> > [EMAIL PROTECTED]
> > http://mailman.jabber.org/listinfo/jdev
>
> --
> [EMAIL PROTECTED] - Atlantide - http://www.ago.fr/atlantide/
> Technopole Brest Iroise BP 80802 - Site du Vernis - 29608 Brest cedex -
> France
> Tel. : +33 2 98 05 43 21 - Fax. : +33 2 98 05 20 34
> e-mail: [EMAIL PROTECTED]
> Centre Affaires Oberthur - 74D, rue de Paris -  35700 Rennes - France
> Tel. : +33 2 99 84 15 84 - Fax : +33 2 99 84 15 85
> e-mail: [EMAIL PROTECTED]
>
> _______________________________________________
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev

--
[EMAIL PROTECTED] - Atlantide - http://www.ago.fr/atlantide/
Technopole Brest Iroise BP 80802 - Site du Vernis - 29608 Brest cedex - France
Tel. : +33 2 98 05 43 21 - Fax. : +33 2 98 05 20 34
e-mail: [EMAIL PROTECTED]
Centre Affaires Oberthur - 74D, rue de Paris -  35700 Rennes - France
Tel. : +33 2 99 84 15 84 - Fax : +33 2 99 84 15 85
e-mail: [EMAIL PROTECTED]


_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to