Home | Trees | Index | Help |
---|
Package twisted :: Package test :: Module test_pb :: Class VeryVeryComplicatedCacheable |
|
Jellyable
--+ |Serializable
--+ |Copyable
--+ |Cacheable
--+ | VeryVeryComplicatedCacheable
Method Summary | |
---|---|
__init__(self)
| |
(inherited from Jellyable )
| |
Get state to cache on the client and client-cache reference to observe locally. | |
Gather state to send when I am serialized for a peer. (inherited from Copyable )
| |
Gather state to send when I am serialized for a particular perspective. (inherited from Copyable )
| |
Determine what type tag to send for me. (inherited from Copyable )
| |
Determine what type tag to send for me. (inherited from Copyable )
| |
Return an appropriate tuple to serialize me. (inherited from Cacheable )
| |
Return an ID which uniquely represents this object for this process. (inherited from Serializable )
| |
setFoo4(self)
| |
This method is called when a client has stopped observing me. |
Method Details |
---|
getStateToCacheAndObserveFor(self, perspective, observer)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.
|
stoppedObserving(self, perspective, observer)This method is called when a client has stopped observing me. The 'observer' argument is the same as that passed in to getStateToCacheAndObserveFor.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:26:16 2003 | http://epydoc.sf.net |