Changeset 31:45f3d59431c2 for wokkel
- Timestamp:
- Aug 5, 2008, 7:56:13 PM (14 years ago)
- Branch:
- default
- Children:
- 32:55864b12be3d, 106:7db576ce0ac7
- Convert:
- svn:b33ecbfc-034c-dc11-8662-000475d9059e/trunk@61
- Location:
- wokkel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
wokkel/disco.py
r30 r31 1 1 # -*- test-case-name: wokkel.test.test_disco -*- 2 2 # 3 # Copyright (c) 2003-200 7Ralph Meijer3 # Copyright (c) 2003-2008 Ralph Meijer 4 4 # See LICENSE for details. 5 5 -
wokkel/iwokkel.py
r30 r31 262 262 to. 263 263 @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. 266 267 @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): 271 273 """ 272 274 Send out node deletion notifications. … … 276 278 @param nodeIdentifier: The identifier of the node that was deleted. 277 279 @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} 280 283 """ 281 284 … … 308 311 @param subscriber: The entity to be subscribed. 309 312 @type subscriber: L{jid.JID} 310 @return: A deferred that fires with a C{str} representing the311 subscription state, C{'subscribed'} or C{'pending'}.313 @return: A deferred that fires with a 314 L{Subscription<wokkel.pubsub.Subscription>}. 312 315 @rtype: L{defer.Deferred} 313 316 """ … … 338 341 @param service: The entity the request was addressed to. 339 342 @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>}. 344 345 @rtype: L{defer.Deferred} 345 346 """ -
wokkel/test/test_disco.py
r30 r31 1 # Copyright (c) 2003-200 7Ralph Meijer1 # Copyright (c) 2003-2008 Ralph Meijer 2 2 # See LICENSE for details. 3 3
Note: See TracChangeset
for help on using the changeset viewer.