Package flumotion :: Package extern :: Package command :: Package command :: Module manholecmd :: Class CmdManhole
[hide private]

Class CmdManhole

source code

twisted.conch.recvline.HistoricRecvLine --+    
                                          |    
                                    Manhole --+
                                              |
                                             CmdManhole

Nested Classes [hide private]
  interpreterClass
Interactive Interpreter with special output and Deferred support.
Instance Methods [hide private]
 
__init__(self, namespace=None, connectionLostDeferred=None) source code
 
connectionLost(self, reason)
When the connection is lost, there is nothing more to do.
source code

Inherited from Manhole: addOutput, connectionMade, handle_EOF, handle_FF, handle_INT, handle_QUIT, lineReceived

Inherited from Manhole (private): _needsNewline, _setupInterpreter

Class Variables [hide private]

Inherited from Manhole: namespace

Method Details [hide private]

__init__(self, namespace=None, connectionLostDeferred=None)
(Constructor)

source code 
Parameters:
  • connectionLostDeferred - a deferred that will be fired when the connection is lost, with the reason.
Overrides: Manhole.__init__

connectionLost(self, reason)

source code 

When the connection is lost, there is nothing more to do. Stop the reactor so that the process can exit.

Override me for custom behaviour.