Trees | Index | Help |
---|
Package twisted :: Package spread :: Module flavors :: Class RemoteCache |
|
Unjellyable
--+ |RemoteCopy
--+ |Jellyable
--+ | | |Serializable
--+ | RemoteCache
StateRemoteCache
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 pb.RemoteReference
to this object as it is
originally sent.
Method Summary | |
---|---|
Compare me [to another RemoteCache. | |
Do distributed reference counting on finalize. | |
Hash me. | |
serialize me (only for the broker I'm for) as the original cached reference | |
A remote message has been received. | |
Perform the inverse operation of Jellyable.jellyFor . | |
Inherited from RemoteCopy | |
I will be invoked with the state to copy locally. | |
Inherited from Unjellyable | |
| |
Inherited from Serializable | |
Return an ID which uniquely represents this object for this process. | |
Inherited from Jellyable | |
|
Class Variable Summary | |
---|---|
NoneType |
broker = None |
NoneType |
luid = None |
Inherited from RemoteCopy | |
Implements |
__implemented__ = <implementedBy twisted.spread.flavors....
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
Inherited from Unjellyable | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
Method Details |
---|
__cmp__(self,
other)
Compare me [to another RemoteCache.
|
__del__(self)
Do distributed reference counting on finalize.
|
__hash__(self)
Hash me.
|
jellyFor(self, jellier)serialize me (only for the broker I'm for) as the original cached reference
|
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(self, unjellier, jellyList)Perform the inverse operation of twisted.spread.interfaces.IUnjellyable.unjellyFor
|
Class Variable Details |
---|
broker
|
luid
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Fri May 18 09:35:49 2007 | http://epydoc.sf.net |