class documentation

class twisted.spread.pb.RemoteCacheObserver: (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.
Instance Variable broker Undocumented
Instance Variable cached Undocumented
Instance Variable perspective Undocumented
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.
broker = (source)

Undocumented

cached = (source)

Undocumented

perspective = (source)

Undocumented

def __repr__(self): (source)

Undocumented

ReturnsUndocumented (type: str)
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 20.12.1 at 2021-02-28 19:53:36.