t.c.i.ISession(Interface) : interface documentation

Part of twisted.conch.interfaces View Source View In Hierarchy

Known implementations: twisted.conch.manhole_ssh.TerminalSession, twisted.conch.unix.SSHSessionForUnixConchUser, twisted.vfs.adapters.sftp.VFSConchSession

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

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

If a psuedo-terminal is not available, or the request otherwise fails, raise an exception.
def openShell(proto): (source)
Open a shell and connect it to proto.
Parametersprotoa ProcessProtocol instance.
def execCommand(proto, command): (source)
Execute a command.
Parametersprotoa ProcessProtocol instance.
def windowChanged(newWindowSize): (source)
Called when the size of the remote screen has changed.
def eofReceived(): (source)
Called when the other side has indicated no more data will be sent.
def closed(): (source)
Called when the session is closed.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:17:34.