[JDEV] Component Requesting All Packets

Bob Phan bob at devianttechnologies.com
Wed Feb 4 18:00:14 CST 2004

On Wed, 2004-02-04 at 16:31, Robert Norris wrote:
> On Wed, Feb 04, 2004 at 02:58:55PM -0500, Bob Phan wrote:
> > At the bottom of the default router.xml there's a comment on
> > how to allow a component to request all packets, so that'll
> > cover the server end.  However, I don't know how to make my
> > component request to receive all of said packets.
> It requires your component to use the new j2 component protocol, and
> request packet logging when it comes online. See the following URL for
> details of the protocol:
>   http://jabberd.jabberstudio.org/dev/docs/component.shtml

Thanks for pointing that doc my way.

I'm going to fork Net::Jabber and XML::Stream to implement the new
component protocol.  I'm not sure how backwards compatible it'll end up
being, so I'm going to fork.  If it ends up not being to difficult, I'll
probably merge my changes back into the main modules and add some switch
to object instantiation to allow use of the J2 protocol.

If anyone is already working on such a project, I'd appreciate it if
they shot me an email.

It seems that the major changes will be in the xmlns handling,
handshaking, and adding a Bind method.  If anyone's interested, I'll
keep you guys posted on my progress.  I'm going to be upstreaming all
the changes I make to the modules.  Also, I've got approval from
management to GPL the logging component that I'm going to write, so you
guys should expect a full fledged logging component for J2.

Thanks again for the info!

 * Bob Phan <bob at devianttechnologies.com>
 * Code Master General
 * Deviant Technologies Incorporated
 * (203)458-2312
 * http://www.devianttechnologies.com/

More information about the JDev mailing list