Package flumotion :: Package common :: Module planet :: Class AdminFlowState
[show private | hide private]
[frames | no frames]

Class AdminFlowState

Unjellyable --+            
              |            
     RemoteCopy --+        
                  |        
  Jellyable --+   |        
              |   |        
   Serializable --+        
                  |        
        RemoteCache --+    
                      |    
       StateRemoteCache --+
                          |
                         AdminFlowState


I represent the state of a flow in an admin client. See ManagerFlowState.
Method Summary
  invalidate(self)
Invalidate this StateRemoteCache.
    Inherited from StateRemoteCache
  __init__(self)
  addListener(self, listener, set, append, remove, setitem, delitem, invalidate)
Adds a listener to the remote cache.
  get(self, key, otherwise)
Get the state cache value for the given key.
  hasKey(self, key)
  keys(self)
  observe_append(self, key, value)
  observe_delitem(self, key, subkey, value)
  observe_remove(self, key, value)
  observe_set(self, key, value)
  observe_setitem(self, key, subkey, value)
  removeListener(self, listener)
  setCopyableState(self, dict)
    Inherited from RemoteCache
  __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.
  unjellyFor(self, unjellier, jellyList)
    Inherited from Unjellyable
  setStateFor(self, unjellier, state)
    Inherited from Serializable
  processUniqueID(self)
Return an ID which uniquely represents this object for this process.
    Inherited from Jellyable
  getStateFor(self, jellier)

Class Variable Summary
    Inherited from RemoteCache
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

invalidate(self)

Invalidate this StateRemoteCache.

Calling this method will result in the invalidate callback being called for all listeners that passed an invalidate handler to addListener. This method is not called automatically; it is provided as a convenience to applications.
Overrides:
flumotion.twisted.flavors.StateRemoteCache.invalidate (inherited documentation)

Generated by Epydoc 2.1 on Sat Apr 14 13:16:51 2007 http://epydoc.sf.net