| Trees | Index | Help |
|---|
| Package flumotion :: Package common :: Module planet :: Class ManagerComponentState |
|
Jellyable--+ |Serializable--+ |Copyable--+ |Cacheable--+ |StateCacheable--+ | ManagerComponentState
I represent the state of a component in the manager. I have my own
state, and also proxy state from the ManagerJobState when the component is
actually created in a worker.
ManagerFlowState or ManagerAtmosphereState
It also has a special key, 'mood'. This acts as a proxy for the mood
in the WorkerJobState, when there is a job
attached (the job's copy is authoritative when it connects), and is
controlled independently at other times.
WorkerJobState:
| Method Summary | |
|---|---|
__init__(self)
| |
__repr__(self)
| |
Remove the job state. | |
Set the job state I proxy from. | |
setMood(self,
moodValue)
| |
| Inherited from StateCacheable | |
Add a key for a dict value to the state cache. | |
Add a key to the state cache so it can be used with set. | |
Add a key for a list of objects to the state cache. | |
Append the given object to the given list. | |
Removes an element from the given dict. | |
Get the state cache value for the given key. | |
Get state to cache on the client and client-cache reference to observe locally. | |
| |
| |
Remove the given object from the given list. | |
Set a given state key to the given value. | |
Set a value in the given dict. | |
This method is called when a client has stopped observing me. | |
| Inherited from Cacheable | |
Return an appropriate tuple to serialize me. | |
| Inherited from Copyable | |
Gather state to send when I am serialized for a peer. | |
Gather state to send when I am serialized for a particular perspective. | |
Determine what type tag to send for me. | |
Determine what type tag to send for me. | |
| Inherited from Serializable | |
Return an ID which uniquely represents this object for this process. | |
| Inherited from Jellyable | |
| |
| 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 |
|---|
clearJobState(self)Remove the job state. |
setJobState(self, jobState)Set the job state I proxy from.
|
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sun Oct 26 16:39:17 2008 | http://epydoc.sf.net |