Changeset 43:0a525d09169d for wokkel/iwokkel.py
- Timestamp:
- Oct 27, 2008, 2:21:23 PM (14 years ago)
- Branch:
- default
- Convert:
- svn:b33ecbfc-034c-dc11-8662-000475d9059e/trunk@127
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wokkel/iwokkel.py
r31 r43 270 270 """ 271 271 272 def notifyDelete(service, nodeIdentifier, subscriptions): 272 def notifyDelete(service, nodeIdentifier, subscribers, 273 redirectURI=None): 273 274 """ 274 275 Send out node deletion notifications. … … 278 279 @param nodeIdentifier: The identifier of the node that was deleted. 279 280 @type nodeIdentifier: C{unicode} 280 @param subscriptions: The subscriptions for which a notification should 281 be sent out. 282 @type subscriptions: C{list} of L{jid.JID} 281 @param subscribers: The subscribers for which a notification should 282 be sent out. 283 @type subscribers: C{list} of L{jid.JID} 284 @param redirectURI: Optional XMPP URI of another node that subscribers 285 are redirected to. 286 @type redirectURI: C{str} 283 287 """ 284 288 … … 414 418 """ 415 419 416 def getDefaultConfiguration(requestor, service ):420 def getDefaultConfiguration(requestor, service, nodeType): 417 421 """ 418 422 Called when a default node configuration request has been received. … … 422 426 @param service: The entity the request was addressed to. 423 427 @type service: L{jid.JID} 428 @param nodeType: The type of node for which the configuration is 429 retrieved, C{'leaf'} or C{'collection'}. 430 @type nodeType: C{str} 424 431 @return: A deferred that fires with a C{dict} representing the default 425 432 node configuration. Keys are C{str}s that represent the
Note: See TracChangeset
for help on using the changeset viewer.