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

Class Dispatcher

source code

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

Instance Methods
 
__init__(self, portstr) source code
 
getPort(self) source code
 
startService(self) 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.MultiService: __iter__, addService, getServiceNamed, privilegedStartService, removeService

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

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

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

Method Details

__init__(self, portstr)
(Constructor)

source code 
Overrides: twisted.application.service.MultiService.__init__

startService(self)

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

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