twisted.conch.test.test_recvline.TestInsultsServerProtocol(insults.ServerProtocol, test_telnet.TestProtocol)
class documentationtwisted.conch.test.test_recvline
(View In Hierarchy)
Inherited from ServerProtocol:
Method | __init__ | No summary |
Method | connectionMade | Called when a connection is made. |
Method | dataReceived | Called whenever data is received. |
Method | unhandledControlSequence | Called when an unsupported control sequence is received. |
Class | ControlSequenceParser | Undocumented |
Method | cursorUp | Move the cursor up n lines. |
Method | cursorDown | Move the cursor down n lines. |
Method | cursorForward | Move the cursor right n columns. |
Method | cursorBackward | Move the cursor left n columns. |
Method | cursorPosition | Move the cursor to the given line and column. |
Method | cursorHome | Move the cursor home. |
Method | index | Move the cursor down one line, performing scrolling if necessary. |
Method | reverseIndex | Move the cursor up one line, performing scrolling if necessary. |
Method | nextLine | Move the cursor to the first position on the next line, performing scrolling if necessary. |
Method | saveCursor | Save the cursor position, character attribute, character set, and origin mode selection. |
Method | restoreCursor | Restore the previously saved cursor position, character attribute, character set, and origin mode selection. |
Method | setModes | Set the given modes on the terminal. |
Method | setPrivateModes | Set the given DEC private modes on the terminal. |
Method | resetModes | Reset the given modes on the terminal. |
Method | resetPrivateModes | Reset the given DEC private modes on the terminal. |
Method | applicationKeypadMode | Cause keypad to generate control functions. |
Method | numericKeypadMode | Cause keypad to generate normal characters. |
Method | selectCharacterSet | Select a character set. |
Method | shiftIn | Activate the G0 character set. |
Method | shiftOut | Activate the G1 character set. |
Method | singleShift2 | Shift to the G2 character set for a single character. |
Method | singleShift3 | Shift to the G3 character set for a single character. |
Method | selectGraphicRendition | Enabled one or more character attributes. |
Method | horizontalTabulationSet | Set a tab stop at the current cursor position. |
Method | tabulationClear | Clear the tab stop at the current cursor position. |
Method | tabulationClearAll | Clear all tab stops. |
Method | doubleHeightLine | Make the current line the top or bottom half of a double-height, double-width line. |
Method | singleWidthLine | Make the current line a single-width, single-height line. |
Method | doubleWidthLine | Make the current line a double-width line. |
Method | eraseToLineEnd | Erase from the cursor to the end of line, including cursor position. |
Method | eraseToLineBeginning | Erase from the cursor to the beginning of the line, including the cursor position. |
Method | eraseLine | Erase the entire cursor line. |
Method | eraseToDisplayEnd | Erase from the cursor to the end of the display, including the cursor position. |
Method | eraseToDisplayBeginning | Erase from the cursor to the beginning of the display, including the cursor position. |
Method | eraseDisplay | Erase the entire display. |
Method | deleteCharacter | Delete n characters starting at the cursor position. |
Method | insertLine | Insert n lines at the cursor position. |
Method | deleteLine | Delete n lines starting at the cursor position. |
Method | setScrollRegion | Undocumented |
Method | resetScrollRegion | Undocumented |
Method | reportCursorPosition | Return a Deferred that fires with a two-tuple of (x, y) indicating the cursor position. |
Method | reset | Reset the terminal to its initial state. |
Method | write | Write some data to the physical connection, in sequence, in a non-blocking fashion. |
Method | writeSequence | Write an iterable of byte strings to the physical connection. |
Method | loseConnection | Close my connection, after writing all pending data. |
Method | connectionLost | Called when the connection is shut down. |
Method | _handleShortControlSequence | Undocumented |
Method | _handleControlSequence | Undocumented |
Method | _handleLowFunctionControlSequence | Undocumented |
Inherited from Protocol (via ServerProtocol):
Method | logPrefix | Return a prefix matching the class name, to identify log messages related to this protocol instance. |
Inherited from BaseProtocol (via ServerProtocol, Protocol):
Method | makeConnection | Make a connection to a transport and a server. |
Inherited from TestProtocol:
Method | __init__ | Undocumented |
Method | makeConnection | Make a connection to a transport and a server. |
Method | dataReceived | Called whenever data is received. |
Method | connectionLost | Called when the connection is shut down. |
Method | neg_TEST_COMMAND | Undocumented |
Method | enableLocal | Enable the given option locally. |
Method | disableLocal | Disable the given option locally. |
Method | enableRemote | Indicate whether the peer should be allowed to enable this option. |
Method | disableRemote | Indicate that the peer has disabled this option. |