Browse Source

addInterest

Dave Schuyler 21 năm trước cách đây
mục cha
commit
0f23beb5da

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

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