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.
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,
)
|
|