buildbot :: pbmanager :: Dispatcher :: Class Dispatcher
[frames] | no frames]

Class Dispatcher

source code

twisted.application.service.Service --+
                                      |
                                     Dispatcher

Instance Methods
 
__init__(self, portstr) source code
 
stopService(self) source code
 
register(self, username, password, pfactory) source code
 
unregister(self, username) source code
 
requestAvatar(self, username, mind, interface) source code
 
requestAvatarId(self, creds) source code
 
__provides__(...)
Special descriptor for class __provides__

Inherited from twisted.application.service.Service: __getstate__, __providedBy__, disownServiceParent, privilegedStartService, setName, setServiceParent, startService

Class Variables
  credentialInterfaces = [<InterfaceClass twisted.cred.credentia...
  __implemented__ = <implementedBy buildbot.pbmanager.Dispatcher>

Inherited from twisted.application.service.Service: name, parent, running

Method Details

stopService(self)

source code 
Overrides: twisted.application.service.Service.stopService

__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.application.service.Service.__provides__

Class Variable Details

credentialInterfaces

Value:
[<InterfaceClass twisted.cred.credentials.IUsernamePassword>,
 <InterfaceClass twisted.cred.credentials.IUsernameHashedPassword>]