added resetInterestStateForConnectionLoss

This commit is contained in:
Darren Ranalli 2006-10-04 01:09:11 +00:00
parent 049c7e035e
commit 2c481b3f26

View File

@ -123,6 +123,14 @@ class DoInterestManager(DirectObject.DirectObject):
def getAllInterestsCompleteEvent(self):
return 'allInterestsComplete-%s' % DoInterestManager._SerialNum
def resetInterestStateForConnectionLoss(self):
DoInterestManager._interests.clear()
self._outstandingScopes = set()
self._completeEventCount = ScratchPad(num=0)
self._addDebugInterestHistory(
"STATE RESET", "", 0, 0,
0, [])
def addInterest(self, parentId, zoneIdList, description, event=None, auto=False):
"""
Look into a (set of) zone(s).