Package buildbot :: Module pbutil :: Class NewCredPerspective
[frames] | no frames]

Class NewCredPerspective

source code

twisted.spread.pb.Avatar --+
                           |
                          NewCredPerspective
Known Subclasses:

Instance Methods
 
attached(self, mind) source code
 
detached(self, mind) source code
 
__provides__(...)
Special descriptor for class __provides__

Inherited from twisted.spread.pb.Avatar: __providedBy__, perspectiveMessageReceived

Class Variables
  __implemented__ = <implementedBy buildbot.pbutil.NewCredPerspe...
Method Details

__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']

Overrides: twisted.spread.pb.Avatar.__provides__

Class Variable Details

__implemented__

Value:
<implementedBy buildbot.pbutil.NewCredPerspective>