Known subclasses: twisted.conch.manhole.ColoredManhole

Mediator between a fancy line source and an interactive interpreter.

This accepts lines from its transport and passes them on to a ManholeInterpreter. Control commands (^C, ^D, ^\) are also handled with something approximating their normal terminal-mode behavior. It can optionally be constructed with a dict which will be used as the local namespace for any code executed.

Method __init__ Undocumented
Method connectionMade Called after a connection has been established.
Method handle_INT Handle ^C as an interrupt keystroke by resetting the current input variables to their initial state.
Method handle_EOF Undocumented
Method handle_FF Handle a 'form feed' byte - generally used to request a screen refresh/redraw.
Method handle_QUIT Undocumented
Method addOutput Undocumented
Method lineReceived Undocumented
Method _needsNewline Undocumented

Inherited from TerminalProtocol (via HistoricRecvLine, RecvLine):

Method makeConnection Called with an ITerminalTransport when a connection is established.
Method connectionLost Called when the connection has been lost.

Inherited from TerminalProtocol (via HistoricRecvLine, RecvLine):

Method makeConnection Called with an ITerminalTransport when a connection is established.
Method connectionLost Called when the connection has been lost.

Inherited from TerminalProtocol (via HistoricRecvLine, RecvLine):

Method makeConnection Called with an ITerminalTransport when a connection is established.
Method connectionLost Called when the connection has been lost.
def __init__(self, namespace=None): (source)
Undocumented
def connectionMade(self): (source)

Called after a connection has been established.

def handle_INT(self): (source)

Handle ^C as an interrupt keystroke by resetting the current input variables to their initial state.

def handle_EOF(self): (source)
Undocumented
def handle_FF(self): (source)

Handle a 'form feed' byte - generally used to request a screen refresh/redraw.

def handle_QUIT(self): (source)
Undocumented
def _needsNewline(self): (source)
Undocumented
def addOutput(self, data, async=False): (source)
Undocumented
def lineReceived(self, line): (source)
API Documentation for Twisted, generated by pydoctor at 2017-06-11 10:59:01.