On 09/27/2013 05:48 AM, Daniel Sank wrote:
Upon re-reading the Cacheable docs I still don't understand how to use
it.

Have you seen this:

http://twistedmatrix.com/documents/current/core/howto/pb-copyable.html#auto9

Essentially, you move all attribute access to accessor methods and do callRemote to propagate the changes out to observers; new observers are passed to you in getStateToCacheAndObserveFor.

Observers respond to observe_xxx methods, and implement a setCopyableState method.

Then you map the cacheable and observer with pb.setUnjellyableForClass

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to