Mercurial > libervia-pubsub
comparison sat_pubsub/iidavoll.py @ 263:9dfd3890e646
added the constant FLAG_RETRACT_ALLOW_PUBLISHER to allow a publisher to retract an item he has published in a node of "open" publish model.
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 21 Feb 2014 16:10:11 +0100 |
parents | d55620ceafed |
children | 89493845d3dd |
comparison
equal
deleted
inserted
replaced
262:7b821432d012 | 263:9dfd3890e646 |
---|---|
571 | 571 |
572 @return: deferred that fires when the node has been purged. | 572 @return: deferred that fires when the node has been purged. |
573 """ | 573 """ |
574 | 574 |
575 | 575 |
576 def filterItemsWithPublisher(itemIdentifiers, requestor): | |
577 """ | |
578 Filter the given items by checking the items publisher against the requestor. | |
579 | |
580 @param itemIdentifiers: C{list} of item ids. | |
581 @param requestor: JID of the requestor. | |
582 @type requestor: L{JID<twisted.words.protocols.jabber.jid.JID>} | |
583 @return: deferred that fires with a C{list} of item identifiers. | |
584 """ | |
576 | 585 |
577 class IGatewayStorage(Interface): | 586 class IGatewayStorage(Interface): |
578 | 587 |
579 def addCallback(service, nodeIdentifier, callback): | 588 def addCallback(service, nodeIdentifier, callback): |
580 """ | 589 """ |