t.s.p.RemoteCacheObserver : class documentation

Part of twisted.spread.pb View Source View In Hierarchy

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.
Method __repr__ Undocumented
Method __hash__ Generate a hash unique to all RemoteCacheObservers 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.
def __init__(self, broker, cached, perspective): (source)
(internal) Initialize me.
Parametersbrokera pb.Broker instance.
cacheda Cacheable instance that this RemoteCacheObserver corresponds to.
perspectivea reference to the perspective who is observing this.
def __repr__(self): (source)
Undocumented
def __hash__(self): (source)
Generate a hash unique to all RemoteCacheObservers for this broker/perspective/cached triplet
def __cmp__(self, other): (source)
Compare me to another RemoteCacheObserver.
def callRemote(self, _name, *args, **kw): (source)
(internal) action method.
def remoteMethod(self, key): (source)
Get a pb.RemoteMethod for this key.
API Documentation for Twisted, generated by pydoctor at 2012-09-01 11:44:56.