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

Class TelnetManhole

source code

 twisted.application.service.Service --+        
                                       |        
twisted.application.service.MultiService --+    
                                           |    
                                _BaseManhole --+
                                               |
                        util.ComparableMixin --+
                                               |
                                              TelnetManhole

This Manhole accepts unencrypted (telnet) connections, and requires a username and password authorize access. You are encouraged to use the encrypted ssh-based manhole classes instead.

Instance Methods
 
__init__(self, port, username, password) source code

Inherited from _BaseManhole: startService

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

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

Inherited from util.ComparableMixin: __cmp__, __hash__

Class Variables
  compare_attrs = ["port", "username", "password"]

Inherited from twisted.application.service.MultiService: __implemented__, __provides__

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

Method Details

__init__(self, port, username, password)
(Constructor)

source code 
Parameters:
  • port (string or int) - 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.
  • username
  • password - username= and password= form a pair of strings to use when authenticating the remote user.
Overrides: twisted.application.service.MultiService.__init__