mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Fondermann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (VYSPER-52) Subscribe to a Node (XEP-0060 6.1)
Date Fri, 22 May 2009 08:42:45 GMT

    [ https://issues.apache.org/jira/browse/VYSPER-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711995#action_12711995
] 

Bernd Fondermann commented on VYSPER-52:
----------------------------------------

one thing is different here compared to other extensions: the main data structure, the 'root'
CollectionNode, is instantiated and constructor-injected by the Module, while in other parts
those kinds of objects are more losely coupled injected as runtime services or storage providers
(or both). the latter makes them easier accessible for configuration-time injection, management
and initialisation by storage providers.

> Subscribe to a Node (XEP-0060 6.1)
> ----------------------------------
>
>                 Key: VYSPER-52
>                 URL: https://issues.apache.org/jira/browse/VYSPER-52
>             Project: VYSPER
>          Issue Type: Sub-task
>            Reporter: Michael Jakl
>            Assignee: Michael Jakl
>         Attachments: VYSPER-52.1.patch
>
>
> Example 30. Entity subscribes to a node
> <iq type='set'
>     from='francisco@denmark.lit/barracks'
>     to='pubsub.shakespeare.lit'
>     id='sub1'>
>   <pubsub xmlns='http://jabber.org/protocol/pubsub'>
>     <subscribe
>         node='princely_musings'
>         jid='francisco@denmark.lit'/>
>   </pubsub>
> </iq>
>       
> 6.1.2 Success Case
> If the subscription request is successfully processed, the server MUST inform the requesting
entity that it is now subscribed (which MAY include a service-generated SubID).
> Example 31. Service replies with success
> <iq type='result'
>     from='pubsub.shakespeare.lit'
>     to='francisco@denmark.lit/barracks'
>     id='sub1'>
>   <pubsub xmlns='http://jabber.org/protocol/pubsub'>
>     <subscription
>         node='princely_musings'
>         jid='francisco@denmark.lit'
>         subid='ba49252aaa4f5d320c24d3766f0bdcade78c78d3'
>         subscription='subscribed'/>
>   </pubsub>
> </iq>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message