Implements interfaces: twisted.conch.interfaces.ISession

Undocumented
Method getPty Get a pseudo-terminal for use by a shell or command.
Method openShell Open a shell and connect it to proto.
Method execCommand Execute a command.
Method closed Called when the session is closed.

Inherited from Adapter:

Class Variable temporaryAdapter If this is True, the adapter will not be persisted on the Componentized.
Class Variable multiComponent If this adapter is persistent, should it be automatically registered for all appropriate interfaces.
Method __init__ Set my 'original' attribute to be the object I am adapting.
Method __conform__ I forward __conform__ to self.original if it has it, otherwise I simply return None.
Method isuper Forward isuper to self.original
def getPty(self, term, windowSize, attrs): (source)

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(self, proto): (source)

Open a shell and connect it to proto.

Parametersprotoa ProcessProtocol instance.
def execCommand(self, proto, cmd): (source)

Execute a command.

Parametersprotoa ProcessProtocol instance.
def closed(self): (source)

Called when the session is closed.

API Documentation for Twisted, generated by pydoctor at 2017-09-23 19:45:03.