fixed addInterest (return handle), added removeInterest

This commit is contained in:
Darren Ranalli 2006-04-25 21:50:52 +00:00
parent 9a981c2830
commit fa8c808562
1 changed files with 4 additions and 1 deletions

View File

@ -370,7 +370,10 @@ class DistributedObject(DistributedObjectBase):
assert self.notify.debug('doneBarrier(%s) ignored; no active barrier.' % (name))
def addInterest(self, zoneId, note="", event=None):
self.cr.addInterest(self.getDoId(), zoneId, note, event)
return self.cr.addInterest(self.getDoId(), zoneId, note, event)
def removeInterest(self, handle, event=None):
return self.cr.removeInterest(handle, event)
def b_setLocation(self, parentId, zoneId):
self.d_setLocation(parentId, zoneId)