class twisted.spread.pb.RemoteCacheObserver: (source)
I am a reverse-reference to the peer's RemoteCache
.
I am generated automatically when a cache is serialized. I represent a reference to the client's RemoteCache
object that will represent a particular Cacheable
; I am the additional object passed to getStateToCacheAndObserveFor.
Method | __init__ | (internal) Initialize me. |
Instance Variable | broker | Undocumented |
Instance Variable | cached | Undocumented |
Instance Variable | perspective | Undocumented |
Method | __repr__ | Undocumented |
Method | __hash__ | Generate a hash unique to all RemoteCacheObserver s for this broker/perspective/cached triplet |
Method | __cmp__ | Compare me to another RemoteCacheObserver . |
Method | callRemote | (internal) action method. |
Method | remoteMethod | Get a pb.RemoteMethod for this key. |
(internal) Initialize me.
Parameters | broker | a pb.Broker instance. |
cached | a Cacheable instance that this RemoteCacheObserver corresponds to. | |
perspective | a reference to the perspective who is observing this. |
Generate a hash unique to all RemoteCacheObserver
s for this broker/perspective/cached triplet