t.c.i.h.ExpectableBuffer(TerminalBuffer) : class documentation

Part of twisted.conch.insults.helper View Source View In Hierarchy

Undocumented
Method connectionMade Called when a connection is made.
Method write Add the given printable bytes to the terminal.
Method cursorHome Undocumented
Method expect Undocumented
Method _timeoutExpected Undocumented
Method _checkExpected Undocumented

Inherited from TerminalBuffer:

Method getCharacter Undocumented
Method insertAtCursor Add one byte to the terminal at the cursor and make consequent state updates.
Method cursorUp Undocumented
Method cursorDown Undocumented
Method cursorBackward Undocumented
Method cursorForward Undocumented
Method cursorPosition Undocumented
Method index Undocumented
Method reverseIndex Undocumented
Method nextLine Update the cursor position attributes and scroll down if appropriate.
Method saveCursor Undocumented
Method restoreCursor Undocumented
Method setModes Undocumented
Method resetModes Undocumented
Method setPrivateModes Enable the given modes.
Method resetPrivateModes Disable the given modes.
Method applicationKeypadMode Undocumented
Method numericKeypadMode Undocumented
Method selectCharacterSet Undocumented
Method shiftIn Undocumented
Method shiftOut Undocumented
Method singleShift2 Undocumented
Method singleShift3 Undocumented
Method selectGraphicRendition Undocumented
Method eraseLine Undocumented
Method eraseToLineEnd Undocumented
Method eraseToLineBeginning Undocumented
Method eraseDisplay Undocumented
Method eraseToDisplayEnd Undocumented
Method eraseToDisplayBeginning Undocumented
Method deleteCharacter Undocumented
Method insertLine Undocumented
Method deleteLine Undocumented
Method reportCursorPosition Undocumented
Method reset Undocumented
Method unhandledControlSequence Undocumented
Method __str__ Undocumented
Method _currentFormattingState Undocumented
Method _emptyLine Undocumented
Method _scrollDown Undocumented
Method _scrollUp Undocumented

Inherited from Protocol (via TerminalBuffer):

Method logPrefix Return a prefix matching the class name, to identify log messages related to this protocol instance.
Method dataReceived Called whenever data is received.
Method connectionLost Called when the connection is shut down.

Inherited from BaseProtocol (via TerminalBuffer, Protocol):

Method makeConnection Make a connection to a transport and a server.
def connectionMade(self): (source)
Called when a connection is made.

This may be considered the initializer of the protocol, because it is called when the connection is completed. For clients, this is called once the connection to the server has been established; for servers, this is called after an accept() call stops blocking and a socket has been received. If you need to send any greeting or initial message, do it here.

def write(self, bytes): (source)
Add the given printable bytes to the terminal.

Line feeds in bytes will be replaced with carriage return / line feed pairs.

def cursorHome(self): (source)
Undocumented
def _timeoutExpected(self, d): (source)
Undocumented
def _checkExpected(self): (source)
Undocumented
def expect(self, expression, timeout=None, scheduler=reactor): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2015-01-30 14:14:53.