Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`spread`.`pb`.`RemoteCacheObserver``

class documentation

`class 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 | `__cmp__` | Compare me to another `RemoteCacheObserver`.
Method | `__hash__` | Generate a hash unique to all `RemoteCacheObserver`s for this broker/perspective/cached triplet
Method | `__init__` | (internal) Initialize me.
Method | `__repr__` | Undocumented
Method | `callRemote` | (internal) action method.
Method | `remoteMethod` | Get a `pb.RemoteMethod` for this key.
Instance Variable | `broker` | Undocumented
Instance Variable | `cached` | Undocumented
Instance Variable | `perspective` | Undocumented

def __cmp__(self, other): (source)

Compare me to another `RemoteCacheObserver`.

def __hash__(self): (source)

Generate a hash unique to all `RemoteCacheObserver`s for this broker/perspective/cached triplet

def __init__(self, broker, cached, perspective): (source)

(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.

def __repr__(self): (source)

Undocumented

Returns
`str` | Undocumented

def callRemote(self, _name, *args, **kw): (source)

(internal) action method.

def remoteMethod(self, key): (source)

Get a `pb.RemoteMethod` for this key.

broker = (source)

Undocumented

cached = (source)

Undocumented

perspective = (source)

Undocumented