[Twisted-Python] Manhole info needed

Vikas Kumar kumarvikas2605 at gmail.com
Mon Nov 10 08:07:55 MST 2014


Hi,

Can somebody tell me what is the need of manhole in twisted? Specially I've
seen them in files like tap.py (twisted application process).

One usecase I've seen them is wrt ShellFactory classes:

manhole = ShellFactory()
            manhole.setService(self)

internet.TCPServer(<someservice_name>.config.dget('jsonapi.port') + 10000,
manhole, interface='127.0.0.1').setServiceParent(self)

Could somebody please tell me what is being tried to achieve over here in
the above code?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20141110/84dabe1e/attachment.html>


More information about the Twisted-Python mailing list