Browse Source

addInterest

Dave Schuyler 21 years ago
parent
commit
0f23beb5da
1 changed files with 3 additions and 0 deletions
  1. 3 0
      direct/src/distributed/DistributedObject.py

+ 3 - 0
direct/src/distributed/DistributedObject.py

@@ -336,6 +336,9 @@ class DistributedObject(PandaObject):
             self.__barrierContext = None
 
     if wantOtpServer:
+        def addInterest(self, zoneId, note=""):
+            self.cr.addInterest(self.getDoId(), zoneId, note)
+        
         def setLocation(self, parentId, zoneId):
             # The store must run first so we know the old location
             self.cr.storeObjectLocation(self.doId, parentId, zoneId)