t.s.f.C.getStateToCacheAndObserveFor(self, perspective, observer) : method documentation

Part of twisted.spread.pb.Cacheable View Source

Get state to cache on the client and client-cache reference to observe locally.

This is similiar to getStateToCopyFor, but it additionally passes in a reference to the client-side RemoteCache instance that will be created when it is unserialized. This allows Cacheable instances to keep their RemoteCaches up to date when they change, such that no changes can occur between the point at which the state is initially copied and the client receives it that are not propogated.

API Documentation for Twisted, generated by pydoctor at 2012-09-01 11:44:56.