Ignore:
Timestamp:
Aug 5, 2008, 7:56:13 PM (13 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Children:
32:55864b12be3d, 106:7db576ce0ac7
Convert:
svn:b33ecbfc-034c-dc11-8662-000475d9059e/trunk@61
Message:

Release Wokkel 0.4.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/iwokkel.py

    r30 r31  
    262262                               to.
    263263        @type nodeIdentifier: C{unicode}
    264         @param notifications: The notifications as tuples of subscriber and
    265                               the list of items to be notified.
     264        @param notifications: The notifications as tuples of subscriber, the
     265                              list of subscriptions and the list of items to be
     266                              notified.
    266267        @type notifications: C{list} of (L{jid.JID}, C{list} of
    267                              L{domish.Element})
    268         """
    269 
    270     def notifyDelete(service, nodeIdentifier, recipients):
     268                             L{Subscription<wokkel.pubsub.Subscription>},
     269                             C{list} of L{domish.Element})
     270        """
     271
     272    def notifyDelete(service, nodeIdentifier, subscriptions):
    271273        """
    272274        Send out node deletion notifications.
     
    276278        @param nodeIdentifier: The identifier of the node that was deleted.
    277279        @type nodeIdentifier: C{unicode}
    278         @param recipients: The entities that the notification is sent to.
    279         @type notifications: C{list} of L{jid.JID}
     280        @param subscriptions: The subscriptions for which a notification should
     281                              be sent out.
     282        @type subscriptions: C{list} of L{jid.JID}
    280283        """
    281284
     
    308311        @param subscriber: The entity to be subscribed.
    309312        @type subscriber: L{jid.JID}
    310         @return: A deferred that fires with a C{str} representing the
    311                  subscription state, C{'subscribed'} or C{'pending'}.
     313        @return: A deferred that fires with a
     314                 L{Subscription<wokkel.pubsub.Subscription>}.
    312315        @rtype: L{defer.Deferred}
    313316        """
     
    338341        @param service: The entity the request was addressed to.
    339342        @type service: L{jid.JID}
    340         @return: A deferred that fires with a C{list} of suscriptions as
    341                  C{tuple}s of (node identifier as C{unicode}, subscriber as
    342                  L{jid.JID}, subscription state as C{str}). The subscription
    343                  state can be C{'subscribed'} or C{'pending'}.
     343        @return: A deferred that fires with a C{list} of subscriptions as
     344                 L{Subscription<wokkel.pubsub.Subscription>}.
    344345        @rtype: L{defer.Deferred}
    345346        """
Note: See TracChangeset for help on using the changeset viewer.