Changeset 4:e8e7d5543a6f for wokkel/iwokkel.py
- Timestamp:
- Aug 22, 2007, 5:00:48 PM (15 years ago)
- Branch:
- default
- Convert:
- svn:b33ecbfc-034c-dc11-8662-000475d9059e/trunk@5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wokkel/iwokkel.py
r2 r4 19 19 xmlstream = Attribute("""The managed XML stream""") 20 20 21 def setHandlerParent(parent): 22 """ 23 Set the parent of the handler. 24 25 @type parent: L{IXMPPHandlerCollection} 26 """ 27 28 def disownHandlerParent(parent): 29 """ 30 Remove the parent of the handler. 31 32 @type parent: L{IXMPPHandlerCollection} 33 """ 34 21 35 def makeConnection(xs): 22 36 """ … … 60 74 """ 61 75 76 class IXMPPHandlerCollection(Interface): 77 """ 78 Collection of handlers. 79 80 Contain several handlers and manage their connection. 81 """ 82 83 def __iter__(): 84 """ 85 Get an iterator over all child handlers. 86 """ 87 88 def addHandler(handler): 89 """ 90 Add a child handler. 91 92 @type handler: L{IXMPPHandler} 93 """ 94 95 def removeHandler(handler): 96 """ 97 Remove a child handler. 98 99 @type handler: L{IXMPPHandler} 100 """ 62 101 63 102 class IDisco(Interface):
Note: See TracChangeset
for help on using the changeset viewer.