Package buildbot :: Module manhole :: Class ArbitraryCheckerManhole
[frames | no frames]

Class ArbitraryCheckerManhole

 ComparableMixin --+
                   |
 Service --+       |
           |       |
MultiService --+   |
               |   |
    _BaseManhole --+
                   |
                  ArbitraryCheckerManhole


This Manhole accepts ssh connections, but uses an arbitrary user-supplied 'checker' object to perform authentication.
Method Summary
  __init__(self, port, checker)
    Inherited from MultiService
  __iter__(self)
  addService(self, service)
  getServiceNamed(self, name)
  privilegedStartService(self)
  removeService(self, service)
  stopService(self)
    Inherited from Service
  __getstate__(self)
  disownServiceParent(self)
  setName(self, name)
  setServiceParent(self, parent)
    Inherited from ComparableMixin
  __cmp__(self, them)
  __hash__(self)

Class Variable Summary
list compare_attrs = ['port', 'checker']
    Inherited from MultiService
Implements __implemented__ = <implementedBy twisted.application.ser...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
    Inherited from Service
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
NoneType name = None                                                                  
NoneType parent = None                                                                  
int running = 0                                                                     

Method Details

__init__(self, port, checker)
(Constructor)

Parameters:
port - what port should the Manhole listen on? This is a strports specification string, like 'tcp:12345' or 'tcp:12345:interface=127.0.0.1'. Bare integers are treated as a simple tcp port.
           (type=string or int)
checker - an instance of a twisted.cred 'checker' which will perform authentication
Overrides:
buildbot.manhole._BaseManhole.__init__

Class Variable Details

compare_attrs

Type:
list
Value:
['port', 'checker']                                                    

Generated by Epydoc 2.1 on Sun Dec 10 22:04:45 2006 http://epydoc.sf.net