|
@@ -291,14 +291,14 @@ class ClientRepository(DirectObject.DirectObject):
|
|
|
self.send(datagram)
|
|
self.send(datagram)
|
|
|
return None
|
|
return None
|
|
|
|
|
|
|
|
- def sendUpdate(self, do, fieldName, args):
|
|
|
|
|
|
|
+ def sendUpdate(self, do, fieldName, args, sendToId = None):
|
|
|
# Get the DO id
|
|
# Get the DO id
|
|
|
doId = do.doId
|
|
doId = do.doId
|
|
|
# Get the cdc
|
|
# Get the cdc
|
|
|
assert(self.doId2cdc.has_key(doId))
|
|
assert(self.doId2cdc.has_key(doId))
|
|
|
cdc = self.doId2cdc[doId]
|
|
cdc = self.doId2cdc[doId]
|
|
|
# Let the cdc finish the job
|
|
# Let the cdc finish the job
|
|
|
- cdc.sendUpdate(self, do, fieldName, args)
|
|
|
|
|
|
|
+ cdc.sendUpdate(self, do, fieldName, args, sendToId)
|
|
|
|
|
|
|
|
def send(self, datagram):
|
|
def send(self, datagram):
|
|
|
#if self.notify.getDebug():
|
|
#if self.notify.getDebug():
|