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

Class Registration

source code

object --+
         |
        Registration

Instance Methods
 
__init__(self, pbmanager, portstr, username)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
unregister(self)
Unregister this registration, removing the username from the port, and closing the port if there are no more users left.
source code
 
getPort(self)
Helper method for testing; returns the TCP port used for this registration, even if it was specified as 0 and thus allocated by the OS.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables
  portstr
portstr this registration is active on
  username
username of this registration
Properties

Inherited from object: __class__

Method Details

__init__(self, pbmanager, portstr, username)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

unregister(self)

source code 

Unregister this registration, removing the username from the port, and closing the port if there are no more users left. Returns a Deferred.