-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ricardo Newbery wrote: > Okay, then assuming you've installed ZEO from Zope software, > if your third-party product includes conflict resolution by > instantiating a class defined in the Zope product directory, then is > it also safe to assume that this product resolution is still > available to the ZEO server? For example, if I have the following in > MyProduct: > > from BTrees import Length > > class MyClass(...): > _count = None > > def incrementCount(self): > if self._count is None: > self._count = Length.Length() > self._count.change(1) > > def getCount(self): > return self._count() > > Then do I have to make MyProduct.MyClass available to ZEO or is it > enough that BTrees.Length is available?
That is enough: the Length class derives from Persistent, which means that handle their own conflict resolution: as long as your product doss no conflict resolution of its own, it doesn't need to be imported by the storage server. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHoM1P+gerLs4ltQ4RAhvmAJ0UFSz0EC+uO926RNIJviXl+2spWACfT62H 9CCDJ5vj+37LgnSASYUFQWw= =8qmF -----END PGP SIGNATURE----- _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )