Package flumotion :: Package admin :: Package text :: Module misc_curses :: Class CursesStdIO
[hide private]

Class CursesStdIO

source code

Known Subclasses:

fake fd to be registered as a reader with the twisted reactor. Curses classes needing input should extend this

Instance Methods [hide private]
 
fileno(self)
We want to select on FD 0
source code
 
doRead(self)
called when input is ready
source code
 
logPrefix(self) source code
 
__providedBy__(...)
Object Specification Descriptor
source code
 
__provides__(...)
Special descriptor for class __provides__
Class Variables [hide private]
  __implemented__ = <implementedBy flumotion.admin.text.misc_cur...
Method Details [hide private]

__provides__(...)

 
Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that
we can get declarations for objects without instance-specific
interfaces a bit quicker.

For example:

  >>> from zope.interface import Interface
  >>> class IFooFactory(Interface):
  ...     pass
  >>> class IFoo(Interface):
  ...     pass
  >>> class C(object):
  ...     implements(IFoo)
  ...     classProvides(IFooFactory)
  >>> [i.getName() for i in C.__provides__]
  ['IFooFactory']

  >>> [i.getName() for i in C().__provides__]
  ['IFoo']


Class Variable Details [hide private]

__implemented__

Value:
<implementedBy flumotion.admin.text.misc_curses.CursesStdIO>