class documentation
class TestInsultsServerProtocol(insults.ServerProtocol, test_telnet.TestProtocol): (source)
Undocumented
Inherited from ServerProtocol
:
Class |
|
Undocumented |
Method | __init__ |
No summary |
Method | application |
Cause keypad to generate control functions. |
Method | connection |
Called when the connection is shut down. |
Method | connection |
Called when a connection is made. |
Method | cursor |
Move the cursor left n columns. |
Method | cursor |
Move the cursor down n lines. |
Method | cursor |
Move the cursor right n columns. |
Method | cursor |
Move the cursor home. |
Method | cursor |
Move the cursor to the given line and column. |
Method | cursor |
Move the cursor up n lines. |
Method | data |
Called whenever data is received. |
Method | delete |
Delete n characters starting at the cursor position. |
Method | delete |
Delete n lines starting at the cursor position. |
Method | double |
Make the current line the top or bottom half of a double-height, double-width line. |
Method | double |
Make the current line a double-width line. |
Method | erase |
Erase the entire display. |
Method | erase |
Erase the entire cursor line. |
Method | erase |
Erase from the cursor to the beginning of the display, including the cursor position. |
Method | erase |
Erase from the cursor to the end of the display, including the cursor position. |
Method | erase |
Erase from the cursor to the beginning of the line, including the cursor position. |
Method | erase |
Erase from the cursor to the end of line, including cursor position. |
Method | get |
Similar to getPeer, but returns an address describing this side of the connection. |
Method | get |
Get the remote address of this connection. |
Method | horizontal |
Set a tab stop at the current cursor position. |
Method | index |
Move the cursor down one line, performing scrolling if necessary. |
Method | insert |
Insert n lines at the cursor position. |
Method | lose |
Close my connection, after writing all pending data. |
Method | next |
Move the cursor to the first position on the next line, performing scrolling if necessary. |
Method | numeric |
Cause keypad to generate normal characters. |
Method | report |
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 | reset |
Reset the given modes on the terminal. |
Method | reset |
Reset the given DEC private modes on the terminal. |
Method | reset |
Undocumented |
Method | restore |
Restore the previously saved cursor position, character attribute, character set, and origin mode selection. |
Method | reverse |
Move the cursor up one line, performing scrolling if necessary. |
Method | save |
Save the cursor position, character attribute, character set, and origin mode selection. |
Method | select |
Select a character set. |
Method | select |
Enabled one or more character attributes. |
Method | set |
Set the given modes on the terminal. |
Method | set |
Set the given DEC private modes on the terminal. |
Method | set |
Undocumented |
Method | shift |
Activate the G0 character set. |
Method | shift |
Activate the G1 character set. |
Method | single |
Shift to the G2 character set for a single character. |
Method | single |
Shift to the G3 character set for a single character. |
Method | single |
Make the current line a single-width, single-height line. |
Method | tabulation |
Clear the tab stop at the current cursor position. |
Method | tabulation |
Clear all tab stops. |
Method | unhandled |
Called when an unsupported control sequence is received. |
Method | write |
Write some data to the physical connection, in sequence, in a non-blocking fashion. |
Method | write |
Write an iterable of byte strings to the physical connection. |
Constant | BACKSPACE |
Undocumented |
Constant | TAB |
Undocumented |
Class Variable | control |
Undocumented |
Class Variable | factory |
Undocumented |
Class Variable | scroll |
Undocumented |
Class Variable | term |
Undocumented |
Instance Variable | cursor |
Undocumented |
Instance Variable | last |
Undocumented |
Instance Variable | protocol |
Undocumented |
Instance Variable | protocol |
Undocumented |
Instance Variable | protocol |
Undocumented |
Instance Variable | state |
Undocumented |
Instance Variable | terminal |
Undocumented |
Method | _handle |
Undocumented |
Method | _handle |
Undocumented |
Method | _handle |
Undocumented |
Instance Variable | _cursor |
Undocumented |
Instance Variable | _saved |
Undocumented |
Inherited from Protocol
(via ServerProtocol
):
Method | log |
Return a prefix matching the class name, to identify log messages related to this protocol instance. |
Inherited from BaseProtocol
(via ServerProtocol
, Protocol
):
Method | make |
Make a connection to a transport and a server. |
Instance Variable | connected |
Undocumented |
Instance Variable | transport |
Undocumented |
Inherited from TestProtocol
(via ServerProtocol
, Protocol
, BaseProtocol
):
Method | disable |
Disable the given option locally. |
Method | disable |
Indicate that the peer has disabled this option. |
Method | enable |
Enable the given option locally. |
Method | enable |
Indicate whether the peer should be allowed to enable this option. |
Method | neg_ |
Undocumented |
Method | unhandled |
A command was received but not understood. |
Method | unhandled |
A subnegotiation command was received but not understood. |
Class Variable | local |
Undocumented |
Class Variable | remote |
Undocumented |
Instance Variable | calls |
Undocumented |
Instance Variable | data |
Undocumented |
Instance Variable | disabled |
Undocumented |
Instance Variable | disabled |
Undocumented |
Instance Variable | enabled |
Undocumented |
Instance Variable | enabled |
Undocumented |
Instance Variable | subcmd |
Undocumented |