Package flumotion :: Package twisted :: Module flavors :: Class IStateCacheableListener
[hide private]

Class IStateCacheableListener

source code

zope.interface.Interface --+
                           |
                          IStateCacheableListener

I am an interface for objects that want to listen to changes on cacheable states

Instance Methods [hide private]
 
observerAppend(self, observer, num) source code
 
observerRemove(self, observer, num) source code
Class Variables [hide private]
  _InterfaceClass__attrs = {'observerAppend': <zope.interface.in...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'flumotion.twisted.flavors.IStateCacheableLis...
  __iro__ = (<InterfaceClass flumotion.twisted.flavors.IStateCac...
  __name__ = 'IStateCacheableListener'
  __sro__ = (<InterfaceClass flumotion.twisted.flavors.IStateCac...
  _implied = {<InterfaceClass flumotion.twisted.flavors.IStateCa...
  dependents = <WeakKeyDictionary at 281545984>

Inherited from zope.interface.Interface (private): _Element__tagged_values

Method Details [hide private]

observerAppend(self, observer, num)

source code 
Parameters:
  • observer (twisted.spread.flavors.RemoteCacheObserver) - reference to the peer's RemoteCache that was added
  • num (int) - number of observers present

observerRemove(self, observer, num)

source code 
Parameters:
  • observer (twisted.spread.flavors.RemoteCacheObserver) - reference to the peer's RemoteCache that was removed
  • num (int) - number of observers remaining

Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'observerAppend': <zope.interface.interface.Method object at 0x10d6c5\
90>,
 'observerRemove': <zope.interface.interface.Method object at 0x10d6c4\
d0>}

__identifier__

Value:
'flumotion.twisted.flavors.IStateCacheableListener'

__iro__

Value:
(<InterfaceClass flumotion.twisted.flavors.IStateCacheableListener>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<InterfaceClass flumotion.twisted.flavors.IStateCacheableListener>,
 <InterfaceClass zope.interface.Interface>)

_implied

Value:
{<InterfaceClass flumotion.twisted.flavors.IStateCacheableListener>: (\
),
 <InterfaceClass zope.interface.Interface>: ()}