[ejabberd] About mod_pubsub() confused

CGS cgsmcmlxxv at gmail.com
Thu Jun 7 17:14:54 MSK 2012


Hi,

I am not an expert in Ejabberd, but I see those nodes as necessary as two
types of connections are necessary (publishers and subscribers) for the
same pointer. I am not sure if that is the reason, so, maybe someone more
knowledgeable will come forward with a better answer.

CGS




On Thu, Jun 7, 2012 at 2:16 PM, 郎咸武 <langxianzhe at gmail.com> wrote:

> Hi guys.
> Recently, I read mod_pubsub source.
> There are some confused in the mod_pubsub:init_nodes/4.
> It create 2 nodes via
>  create_node(Host, ServerHost, string_to_node("/home"), service_jid(Host),
> "hometree"),
>  create_node(Host, ServerHost, string_to_node("/home"), service_jid(Host),
> "hometree"),
> source code.
> I do not understand what these two nodes is used to do.
> Please help me .
> I can really appreciate your reply .
>
> Cheers, Jason
> --
> 只为成功找方法,不为失败找理由
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20120607/4a726075/attachment.html>


More information about the ejabberd mailing list