class VeryVeryComplicatedCacheable(pb.Cacheable): (source)
Undocumented
Method | __init__ |
Undocumented |
Method | get |
Get state to cache on the client and client-cache reference to observe locally. |
Method | set |
Undocumented |
Method | stopped |
This method is called when a client has stopped observing me. |
Instance Variable | foo |
Undocumented |
Instance Variable | observer |
Undocumented |
Instance Variable | x |
Undocumented |
Instance Variable | y |
Undocumented |
Inherited from Cacheable
:
Method | jelly |
Return an appropriate tuple to serialize me. |
Inherited from Copyable
(via Cacheable
):
Method | get |
Gather state to send when I am serialized for a peer. |
Method | get |
Gather state to send when I am serialized for a particular perspective. |
Method | get |
Determine what type tag to send for me. |
Method | get |
Determine what type tag to send for me. |
Inherited from Serializable
(via Cacheable
, Copyable
):
Method | process |
Return an ID which uniquely represents this object for this process. |
Inherited from Jellyable
(via Cacheable
, Copyable
, Serializable
):
Method | get |
Undocumented |
Get state to cache on the client and client-cache reference to observe locally.
This is similar 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 propagated.