Package flumotion :: Package twisted :: Module flavors :: Class IStateListener
[show private | hide private]
[frames | no frames]

Type IStateListener

object --+    
         |    
 Interface --+
             |
            IStateListener


I am an interface for objects that want to listen to changes on cached states.
Method Summary
  stateAppend(self, object, key, value)
  stateRemove(self, object, key, value)
  stateSet(self, object, key, value)
    Inherited from Interface
  adaptWith(self, using, to, registry)
(Class method)
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Instance Method Details

stateAppend(self, object, key, value)

Parameters:
object - the state object having changed
           (type=StateRemoteCache)
key - the key being appended to
           (type=string)
value -

the value being appended to the list given by key

The given value has been added to the list given by the key.

stateRemove(self, object, key, value)

Parameters:
object - the state object having changed
           (type=StateRemoteCache)
key - the key being removed from
           (type=string)
value -

the value being removed from the list given by key

The given value has been removed from the list given by the key.

stateSet(self, object, key, value)

Parameters:
object - the state object having changed
           (type=StateRemoteCache)
key - the key being set
           (type=string)
value -

the value the key is being set to

The given key on the given object has been set to the given value.

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