[ZODB-Dev] Notification in client app when object changed?

Dieter Maurer dieter at handshake.de
Thu Jan 25 13:25:49 EST 2007


David Gould wrote at 2007-1-25 09:05 +1000:
>    I'm working on a system where several client apps connect to a ZEO server. When an object is changed (via commit) I'd like all the clients to be notified so that their gui's can be updated automatically. A callback or some other hook that is called in client app would be great.

ZEO informs it clients when an object changed.

However, by default, these notifications are kept internal to the ZODB.
There is no hook to inform the application about it.

You would need to customize "ZODB.DB.invalidate" to implement such
a hook.



-- 
Dieter


More information about the ZODB-Dev mailing list