Beispiel #1
0
 def __init__(self, processProtocol, commandLine, env, usePTY, childFDs,
              *args, **kwargs):
     """
     @param processProtocol: A instance of a ProcessProtocol
     @param childFDs: Custom child file descriptor mappings
     """
     SSHSession.__init__(self, env, usePTY, *args, **kwargs)
     self.processProtocol = processProtocol
     self.commandLine = commandLine
     self.childFDs = childFDs
Beispiel #2
0
 def __init__(self, processProtocol, commandLine, env, usePTY, childFDs,
              *args, **kwargs):
     """
     @param processProtocol: A instance of a ProcessProtocol
     @param childFDs: Custom child file descriptor mappings
     """
     SSHSession.__init__(self, env, usePTY, *args, **kwargs)
     self.processProtocol = processProtocol
     self.commandLine = commandLine
     self.childFDs = childFDs
Beispiel #3
0
 def loseConnection(self):
     self.closeStdin()
     self.closeStderr()
     self.closeStdout()
     SSHSession.loseConnection(self)
Beispiel #4
0
 def loseConnection(self):
     self.closeStdin()
     self.closeStderr()
     self.closeStdout()
     SSHSession.loseConnection(self)