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

Class ManagerPlanetState

Jellyable --+                
            |                
 Serializable --+            
                |            
         Copyable --+        
                    |        
            Cacheable --+    
                        |    
           StateCacheable --+
                            |
                           ManagerPlanetState


I represent the state of a planet in the manager.

I have the following keys:
Method Summary
  __init__(self)
list of ManagerComponentState getComponents(self)
Return a list of all component states in this planet (from atmosphere and all flows).
    Inherited from StateCacheable
  addDictKey(self, key, value)
Add a key for a dict value to the state cache.
  addKey(self, key, value)
Add a key to the state cache so it can be used with set.
  addListKey(self, key, value)
Add a key for a list of objects to the state cache.
  append(self, key, value)
Append the given object to the given list.
  delitem(self, key, subkey)
Removes an element from the given dict.
  get(self, key, otherwise)
Get the state cache value for the given key.
  getStateToCacheAndObserveFor(self, perspective, observer)
Get state to cache on the client and client-cache reference to observe locally.
  hasKey(self, key)
  keys(self)
  remove(self, key, value)
Remove the given object from the given list.
  set(self, key, value)
Set a given state key to the given value.
  setitem(self, key, subkey, value)
Set a value in the given dict.
  stoppedObserving(self, perspective, observer)
This method is called when a client has stopped observing me.
    Inherited from Cacheable
  jellyFor(self, jellier)
Return an appropriate tuple to serialize me.
    Inherited from Copyable
  getStateToCopy(self)
Gather state to send when I am serialized for a peer.
  getStateToCopyFor(self, perspective)
Gather state to send when I am serialized for a particular perspective.
  getTypeToCopy(self)
Determine what type tag to send for me.
  getTypeToCopyFor(self, perspective)
Determine what type tag to send for me.
    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 Copyable
Implements __implemented__ = <implementedBy twisted.spread.flavors....
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
    Inherited from Jellyable
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

Method Details

getComponents(self)

Return a list of all component states in this planet (from atmosphere and all flows).
Returns:
list of ManagerComponentState

Generated by Epydoc 2.1 on Sun Oct 26 16:39:17 2008 http://epydoc.sf.net