Path: | lib/xmpp4r/pubsub/helper/servicehelper.rb |
Last Update: | Tue Dec 06 17:25:30 +0000 2011 |
License: | Ruby‘s license (see the LICENSE file) or GNU GPL, at your option. |
Website::http://home.gna.org/xmpp4r/
It‘s recommented to read the XEP-0060 before you use this Helper. (Maybe its better not use the helper for now ) ;) The whole code is getting better, but may still contain bugs - be careful!
Maybe the following structure is good ( taken from the xep-0060 )
entity usecases
retrieve all subscriptions retrieve all affiliations
NOTE: the disco stuff will done by the nodebrowserhelper subscriber usecases
subscribe unsubscribe configure subscription options retrieve items from a node
publisher usecases
publish a item to a node delete a item from a node
owner usecases
create a node configure a node request default configuration options delete a node purge all node items manage subscription requests process pending subscriptions manage subscriptions manage affiliations
collection nodes
If someone want to implement something i think its better to do this in this order because everyone who reads the xep-0060 do know where to search in the file