interface documentation

Undocumented

Method closed Called when the session is closed.
Method eofReceived Called when the other side has indicated no more data will be sent.
Method execCommand Execute a command.
Method getPty Get a pseudo-terminal for use by a shell or command.
Method openShell Open a shell and connect it to proto.
Method windowChanged Called when the size of the remote screen has changed.
def closed():

Called when the session is closed.

def eofReceived():

Called when the other side has indicated no more data will be sent.

def execCommand(proto, command):

Execute a command.

Parameters
protoa ProcessProtocol instance.
commandUndocumented
def getPty(term, windowSize, modes):

Get a pseudo-terminal for use by a shell or command.

If a pseudo-terminal is not available, or the request otherwise fails, raise an exception.

def openShell(proto):

Open a shell and connect it to proto.

Parameters
protoa ProcessProtocol instance.
def windowChanged(newWindowSize):

Called when the size of the remote screen has changed.