Table of Contents

Class: RemoteCache | Twisted-0.17.4/twisted/spread/flavors.py
--- | ---

### A cache is a local representation of a remote Cacheable object.

This represents the last known state of this object. It may also have methods invoked on it -- in order to update caches, the cached class generates a RemoteReference to this object as it is originally sent.

Much like copy, I will be invoked with no arguments. Do not implement a constructor that requires arguments in one of my subclasses.

Base Classes |
--- | ---

RemoteCopy

Unjellyable

Serializable

Jellyable

Methods |
--- | ---
__cmp__ __del__ __hash__ __really_del__ jellyFor remoteMessageReceived unjellyFor
| __cmp__

    __cmp__ ( self,  other )

Compare me [to another RemoteCache.

| __del__

    __del__ ( self )

Do distributed reference counting on finalize.

| __hash__

    __hash__ ( self )

Hash me.

| __really_del__

    __really_del__ ( self )

Final finalization call, made after all remote references have been lost.

| jellyFor

    jellyFor ( self,  jellier )

serialize me (only for the broker I'm for) as the original cached reference

| remoteMessageReceived

    remoteMessageReceived (
            self,
            broker,
            message,
            args,
            kw,
            )

### A remote message has been received. Dispatch it appropriately.

The default implementation is to dispatch to a method called `observe_messagename` and call it on my with the same arguments.

| unjellyFor

    unjellyFor (
            self,
            unjellier,
            jellyList,
            )

Table of Contents

This document was automatically generated on Sat Apr 20 01:31:32 2002 by HappyDoc version 2.0