Possible implementation (Was: Re: XMPP Perlbal-like
implementation)
Daniel Ruoso
daniel at ruoso.com
Mon Apr 14 18:11:36 UTC 2008
Seg, 2008-04-14 às 18:59 +0100, Martin Atkins escreveu:
> VHost wasn't really designed to be subclassed. The usual extension
> mechanism is via hooks. Do you think that what you're doing could be
> implemented with hooks, and if so what hooks would you need in addition
> to what's already there?
Well, I would need hooks to the three methods I override (register_jid,
unregister_jid and find_jid), and that's pretty much everything.
http://search.cpan.org/src/DRUOSO/DJabberd-Plugin-Balancer-0.1/lib/DJabberd/Plugin/Balancer.pm
daniel
More information about the Djabberd
mailing list