[JDEV] Etherx

Justin Kirby justink at rochester.rr.com
Sat Jul 6 14:39:48 CDT 2002


Depends on what you want to do. Making a lib that loads into jabberd can
be handy. Though going for stability by running several jabberd
processes might not work well for you.

I have had luck so far with the component accept model. But I am by no
means an expert.The accept does not restrict you to C where the lib
forces you into the jabberd API. However, accept does run over tcp/ip
where the lib is loaded directly into the jabberd process ( I will let
you guess which method is faster ) 

Other than that, its relatively the same. So it basically depends on
what you want to do, and what trade off scenario you like better.


On Sat, 2002-07-06 at 13:09, Matt Woodyard wrote:
> So which is the preferred method?
> 
> On Thu, 2002-07-04 at 22:00, Justin Kirby wrote:
> > There are two ways to build transports... through component accept and
> > as a lib that gets loaded into jabberd.
> > 
> > Introduction to components
> > http://docs.jabber.org/general/html/component-intro.html
> > 
> > And a wiki page about components:
> > http://www.theoretic.com/?Components_HOWTO
> > 
> > jabberstudio.org has an example echo transport in cvs:
> > http://www.jabberstudio.org/cgi-bin/viewcvs.cgi/jabberd14/jsm/modules/mod_echo.c
> > 
> > 
> > On Thu, 2002-07-04 at 19:33, Matt Woodyard wrote:
> > > I am looking to build a specialized transport to run with jabber and
> > > have been reading on the jabber.org site that etherx is what i need to
> > > do this with, however; the etherx site at jabber.org is about 3 years
> > > old and I was wondering if this is still the technology that should be
> > > used. Also if there are any "hello world" style examples of transports
> > > available that someone could direct me to.
> > > 
> > > -- 
> > > matt woodyard
> > > professional slacker
> > > being laid back is the ultimate arrogance
> > > 
> > > _______________________________________________
> > > jdev mailing list
> > > jdev at jabber.org
> > > http://mailman.jabber.org/listinfo/jdev
> > 
> > -- 
> > JID: Zion at openaether.org
> > 
> >       ,/^^^^\,
> >      /       \\.
> >    /|
> >   /|  /''\___/
> >         /''\__/  |/
> >      /''\__/    |/
> >       \\      ./
> >        `\..../
> > 
> > http://www.openaether.org
> > 
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
> > 
> -- 
> matt woodyard
> professional slacker
> being laid back is the ultimate arrogance
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev

-- 
JID: Zion at openaether.org

      ,/^^^^\,
     /       \\.
   /|
  /|  /''\___/
        /''\__/  |/
     /''\__/    |/
      \\      ./
       `\..../

http://www.openaether.org




More information about the JDev mailing list