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

Class ManagerPlanetState

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


Method Summary
  __init__(self)
list of ManagerComponentState getComponents(self)
Return a list of component states in this planet.
    Inherited from StateCacheable
  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.
  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)
  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.
  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 Jellyable
tuple __implements__ = (<class 'twisted.spread.interfaces.IJel...

Method Details

getComponents(self)

Return a list of component states in this planet.
Returns:
list of ManagerComponentState

Generated by Epydoc 2.1 on Wed Feb 16 07:22:59 2005 http://epydoc.sf.net