Ignore:
Timestamp:
Jan 3, 2008, 10:58:54 AM (14 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Convert:
svn:b33ecbfc-034c-dc11-8662-000475d9059e/trunk@34
Message:

Add unsubscribe method to PubSubClient?.

Author: ralphm
Fixes #4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/iwokkel.py

    r6 r10  
    1 # Copyright (c) 2003-2007 Ralph Meijer
     1# Copyright (c) 2003-2008 Ralph Meijer
    22# See LICENSE for details.
    33
     
    191191        """
    192192
     193    def unsubscribe(service, nodeIdentifier, subscriber):
     194        """
     195        Unsubscribe from a node with a given JID.
     196
     197        @param service: The publish-subscribe service entity.
     198        @type service: L{jid.JID}
     199        @param nodeIdentifier: Identifier of the node to unsubscribe from.
     200        @type nodeIdentifier: L{unicode}
     201        @param subscriber: JID to unsubscribe from the node.
     202        @type subscriber: L{jid.JID}
     203        @rtype: L{defer.Deferred}
     204        """
     205
    193206    def publish(service, nodeIdentifier, items=[]):
    194207        """
Note: See TracChangeset for help on using the changeset viewer.