class documentation
class TerminalSession(components.Adapter): (source)
Constructor: TerminalSession(original)
Implements interfaces: twisted.conch.interfaces.ISession
Undocumented
Method | closed |
Called when the session is closed. |
Method | eof |
Called when the other side has indicated no more data will be sent. |
Method | exec |
Execute a command. |
Method | get |
Get a pseudo-terminal for use by a shell or command. |
Method | open |
Open a shell and connect it to proto. |
Method | window |
Called when the size of the remote screen has changed. |
Instance Variable | height |
Undocumented |
Instance Variable | width |
Undocumented |
Inherited from Adapter
:
Method | __conform__ |
I forward __conform__ to self.original if it has it, otherwise I simply return None. |
Method | __init__ |
Set my 'original' attribute to be the object I am adapting. |
Method | isuper |
Forward isuper to self.original |
Class Variable | multi |
If this adapter is persistent, should it be automatically registered for all appropriate interfaces. |
Class Variable | temporary |
If this is True, the adapter will not be persisted on the Componentized. |
Instance Variable | original |
Undocumented |
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.