[Standards-JIG] Re: UPDATED: JEP-0163 (Personal Eventing via Pubsub)

Peter Saint-Andre stpeter at jabber.org
Tue Aug 1 16:58:50 CDT 2006


Magnus Henoch wrote:
> Great work!  The client developer in me really likes this
> simplification.
> 
> Some comments, shooting from hip:
> 
> Section 12, "Recommended defaults": "delete-items", "get-affiliations"
> and "purge-items" should be "retract-items", "retrieve-affiliations"
> and "purge-nodes", to match features in section 10 of JEP-0060.

Yep.

> What about "retrieve-subscriptions"?  Should the service include
> implicit subscriptions in the result?  (section 8.7 of JEP-0060)

By "implicit" do you mean the subscription to the account owner's root
collection node? I don't think there really is an implicit subscription
to a particular leaf node if the contact subscribed via presence, since
the node sends notifications based on entity capabilities rather than an
explicit subscription (and caps can be different for each resource and
each session, or even within a single session).

> Through directed presence, one resource of Romeo could show different
> presence status and different capabilities to various resources of
> Juliet.  Does the PEP service need to take this into account, handling
> every corner case?  (more specifically: I'm not yet sure how to
> implement this in ejabberd; doing everything correctly might end up
> very simple, but it would be nice to have a retreat point if it
> doesn't - the complexity might not be worth it)

Ick.

I don't think the complexity is worth it, especially since directed
presence is uncommon and I see no good reason for a client to send
different capabilities to different resources via directed presence.

But then what's the rule to follow? Maybe just use the last presence you
receive.

> Section 13.1, "Cancelling subscriptions": should the service send
> notifications even to those implicitly subscribed?  

I'm not sure I know what you mean by implicit subscriptions, but I don't
think so the service should send notifications in this case.

> And for another
> section, should it send notifications when those entities are
> implicitly subscribed in the first place?  

You mean the last published item?

> Or more specifically: would
> it be bad to treat implicit and explicit subscriptions different in
> this respect?

I don't think so.

Peter

-- 
Peter Saint-Andre
Jabber Software Foundation
http://www.jabber.org/people/stpeter.shtml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.jabber.org/pipermail/standards/attachments/20060801/8f67487d/smime.bin


More information about the Standards-JIG mailing list