<!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, I followed your chat with
Sylvain. I am trying to write an accept component using JabberBeans too. If you
find your code, could I have a copy of it too? Especially the changes made in
the <browse> and <register> sections of the jabber.xml config
file.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Courier New" size=2>Thanks and 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> Tuesday, August 06, 2002 3:24
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [JDEV] Creating a presence
server component?</DIV>
<DIV><BR></DIV>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 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 component <BR>showing the
presence of the users. I should still have the source 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 you <BR>are interested by this one, I will dig in my src
dir to find the 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 I guess<BR>>it's not an obligation. But such component need to
register a 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 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 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 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 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><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><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><BR><A
href="http://mailman.jabber.org/listinfo/jdev">http://mailman.jabber.org/listinfo/jdev</A><BR><BR></BLOCKQUOTE></BODY></HTML>