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

Class PBManager

source code

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

A centralized manager for PB ports and authentication on them.

Allows various pieces of code to request a (port, username) combo, along with a password and a perspective factory.

Instance Methods
 
__init__(self) source code
 
register(self, portstr, username, password, pfactory)
Register a perspective factory PFACTORY to be executed when a PB connection arrives on PORTSTR with USERNAME/PASSWORD.
source code

Inherited from twisted.application.service.MultiService: __iter__, __provides__, addService, getServiceNamed, privilegedStartService, removeService, startService, stopService

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

Class Variables

Inherited from twisted.application.service.MultiService: __implemented__

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

Method Details

__init__(self)
(Constructor)

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

register(self, portstr, username, password, pfactory)

source code 

Register a perspective factory PFACTORY to be executed when a PB connection arrives on PORTSTR with USERNAME/PASSWORD. Returns a Registration object which can be used to unregister later.