<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Courier New" size=2>Philippe, do you mean the JabberBeans
distribution is buggy? I have heard about the Muse API for Jabber. How does it
compare with JabberBeans?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Courier New" size=2>Thanks for taking time to help me
out.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Courier New" size=2>Regards,</FONT></DIV>
<DIV><FONT face="Courier New" size=2>Ananth.</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A href="mailto:raxhonp@easynet.be" title=raxhonp@easynet.be>Philippe
Raxhon</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A href="mailto:jdev@jabber.org"
title=jdev@jabber.org>jdev@jabber.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, August 07, 2002 2:35
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [JDEV] Creating a presence
server component?</DIV>
<DIV><BR></DIV>Hi Sylvain and Anantha,<BR><BR>First of all, Sylvain,when using
a presence bcc, it can't hurt the JSM <BR>module "mod_presence", it's a
blinded carbon copy. But could you be more <BR>specific when you say:<BR>/"I
want a standard way to proceed in order to process <message> <iq>
in <BR>a next step. If I create a component with a <presence> element
support, <BR>I wonder whether if a conflict will occur with the JSM module
<BR>"mod_presence"./"<BR><BR>Anantha, the main issue I had writing a component
using jabberbeans is <BR>that the code in the latest snapshot is broken for
the accept component. <BR>I had to make modifications to jabberbeans before
having a working <BR>component. I never made modifications to the
<browse> or <register> <BR>sections, my component was for external
use only and was not intended to <BR>interact with the server or the users,
not sending anything back.<BR><BR>I don't forget you and I think the code is
on a box I don't use anymore <BR>but I still can access. I'm pretty sure I can
find it. Give me one or <BR>two days, it's quite hectic for the
moment.<BR><BR>Cheers<BR><BR>Philippe<BR><BR>Anantha Krishnan V
wrote:<BR><BR>> Philippe, I followed your chat with Sylvain. I am trying to
write an <BR>> accept component using JabberBeans too. If you find your
code, could I <BR>> have a copy of it too? Especially the changes made in
the <browse> and <BR>> <register> sections of the jabber.xml
config file.<BR>> <BR>> Thanks and Regards,<BR>>
Ananth.<BR>><BR>> ----- Original Message
-----<BR>> *From:* Philippe Raxhon <<A
href="mailto:raxhonp@easynet.be">mailto:raxhonp@easynet.be</A>><BR>>
*To:* <A href="mailto:jdev@jabber.org">jdev@jabber.org</A> <<A
href="mailto:jdev@jabber.org">mailto:jdev@jabber.org</A>><BR>>
*Sent:* Tuesday, August 06, 2002 3:24 PM<BR>>
*Subject:* Re: [JDEV] Creating a presence server
component?<BR>><BR>> Sorry not to be very
detailed in my explanation, but I did
something<BR>> like this months
ago:<BR>><BR>> 1. I added a accept component to
the jabber server:<BR>><BR>>
<service
id="slogger"><BR>>
<host>slogger.myserver.tld</host><BR>>
<accept><BR>>
<ip>localhost</ip><BR>>
<port>5999</port><BR>>
<secret>secret</secret><BR>>
</accept><BR>>
</service><BR>><BR>> 2. I configured the
server to bcc the presence packets to my<BR>>
component.<BR>><BR>>
<jsm xmlns="jabber:config:jsm"><BR>>
...<BR>>
<presence><BR>>
<bcc>slogger</bcc><BR>>
</presence><BR>><BR>>
</jsm><BR>><BR>> 3. I wrote, using
jabberbeans, thus in Java, a simple accept<BR>>
component<BR>> showing the presence of the users. I
should still have the source<BR>> but
I<BR>> dodn't find it for the moment
;-(<BR>><BR>> It's an option, but I'm sure there
are other solutions. Tell me if<BR>>
you<BR>> are interested by this one, I will dig in
my src dir to find the<BR>> code
of<BR>> the
component.<BR>><BR>>
Philippe<BR>><BR>> Sylvain Roberdeau
wrote:<BR>><BR>> >Langage isn't a contraint
for a start. I can use Perl, C, C++,...<BR>>
>But the main information I'm looking for is the way to do
this.<BR>> >All example I find in Perl,
need a registration from user... but<BR>> I
guess<BR>> >it's not an obligation. But such
component need to register a<BR>>
namespace<BR>> >which can conflict with other
element.<BR>> >An other way, it's to build a jsm
component but for a first step (an<BR>>
>expiremental step) it's quite heavy.<BR>>
>Can you indicate me the best way please?<BR>>
><BR>>
>Sylvain<BR>>
><BR>> ><BR>>
><BR>> ><BR>>
>Philippe Raxhon a écrit :<BR>>
><BR>> > <BR>>
><BR>> >>Hi
Silvain,<BR>>
>><BR>> >>What langage do you want to
use? It will make a difference on<BR>> what
is<BR>> >>available for now. Depending on how
it's implemented, running a<BR>> >>component
that only listens on presence can't hurt any
other<BR>> >>module/component, but it could
require some modification in the<BR>>
jabber<BR>> >>configuration
file.<BR>> >><BR>>
>>Sylvain Roberdeau wrote:<BR>>
>><BR>> >>
<BR>> >><BR>>
>>>Hi,<BR>>
>>><BR>> >>> I'm
reading sample code, docs, but I'm not sure to<BR>>
understand if it<BR>> >>>s possible to
create a module or a component only to receive
user's<BR>>
>>>presence.<BR>> >>>
This is a test project for me to produce a realtime
MRTG<BR>> service
to<BR>> >>>count activity of a Jabber
Server.<BR>>
>>><BR>> >>> And
other basic XML tag (message, iq,...)?<BR>>
>>> I wonder whether it's possible to receive these
data without to<BR>> >>>disrupt other
module or components.<BR>> >>>
I'm looking for example or sample code...<BR>>
>>><BR>> >>>Thank
you<BR>>
>>><BR>>
>>>Sylvain<BR>>
>>><BR>>
>>>_______________________________________________<BR>>
>>>jdev mailing list<BR>> >>><A
href="mailto:jdev@jabber.org">jdev@jabber.org</A> <<A
href="mailto:jdev@jabber.org">mailto:jdev@jabber.org</A>><BR>>
>>><A
href="http://mailman.jabber.org/listinfo/jdev">http://mailman.jabber.org/listinfo/jdev</A><BR>>
>>><BR>>
>>><BR>>
>>><BR>>
>>> <BR>>
>>><BR>>
>>_______________________________________________<BR>>
>>jdev mailing list<BR>> >><A
href="mailto:jdev@jabber.org">jdev@jabber.org</A> <<A
href="mailto:jdev@jabber.org">mailto:jdev@jabber.org</A>><BR>>
>><A
href="http://mailman.jabber.org/listinfo/jde">http://mailman.jabber.org/listinfo/jde</A><BR>>
>><BR>> >v<BR>>
> <BR>>
><BR>><BR>><BR>><BR>>
_______________________________________________<BR>>
jdev mailing list<BR>> <A
href="mailto:jdev@jabber.org">jdev@jabber.org</A> <<A
href="mailto:jdev@jabber.org">mailto:jdev@jabber.org</A>><BR>>
<A
href="http://mailman.jabber.org/listinfo/jdev">http://mailman.jabber.org/listinfo/jdev</A><BR>><BR><BR><BR><BR>_______________________________________________<BR>jdev
mailing list<BR><A href="mailto:jdev@jabber.org">jdev@jabber.org</A><BR><A
href="http://mailman.jabber.org/listinfo/jdev">http://mailman.jabber.org/listinfo/jdev</A><BR><BR></BLOCKQUOTE></BODY></HTML>