예제 #1
0
 def __init__(self, ready):
     """
     @param ready: A L{Deferred} which should be fired when
         I{serviceStarted} happens.
     """
     SSHConnection.__init__(self)
     self._ready = ready
예제 #2
0
파일: endpoints.py 프로젝트: 0004c/VTK
 def __init__(self, ready):
     """
     @param ready: A L{Deferred} which should be fired when
         I{serviceStarted} happens.
     """
     SSHConnection.__init__(self)
     self._ready = ready
예제 #3
0
 def __init__(self):
     """
     Adds a deferred here so client can add a callback when the SFTP client is ready.
     """
     SSHConnection.__init__(self)
     self._sftpClient = Deferred()
     self.sftpSession = SFTPSession()
예제 #4
0
 def __init__(self, factory):
     """
     @param factory: The factory used to create the connection this service
         is running over to grant access to the C{connectionReady} attribute
         which is a L{Deferred} which will get fired when I{serviceStarted}
         happens.
     """
     SSHConnection.__init__(self)
     self._factory = factory
예제 #5
0
파일: sshclient.py 프로젝트: vladum/gumby
 def __init__(self, command):
     SSHConnection.__init__(self)
     self.command_str = command
     self.reason = None
예제 #6
0
 def __init__(self, filename, stop_defer):
     SSHConnection.__init__(self)
     self.filename = filename
     self.stop_defer = stop_defer
예제 #7
0
 def __init__(self, command, protocolFactory, commandConnected):
     SSHConnection.__init__(self)
     self._command = command
     self._protocolFactory = protocolFactory
     self._commandConnected = commandConnected
예제 #8
0
 def __init__(self, command, protocolFactory, commandConnected):
     SSHConnection.__init__(self)
     self._command = command
     self._protocolFactory = protocolFactory
     self._commandConnected = commandConnected
예제 #9
0
 def __init__(self, client):
     SSHConnection.__init__(self)
     self.client = client
예제 #10
0
파일: ssh.py 프로젝트: veloutin/tilde
 def __init__(self, factory):
     SSHConnection.__init__(self)
     self.factory = factory
     self._pendingChannelsDeferreds = []
예제 #11
0
 def __init__(self, command):
     SSHConnection.__init__(self)
     self.command_str = command
     self.reason = None
예제 #12
0
파일: ssh.py 프로젝트: ekohl/vncauthproxy
 def __init__(self, client):
     SSHConnection.__init__(self)
     self.client = client
예제 #13
0
 def __init__(self, command, env={}):
     SSHConnection.__init__(self)
     self.command_str = command
     self.env = env
     self.reason = None
예제 #14
0
파일: ssh.py 프로젝트: veloutin/tilde
 def __init__(self, factory):
     SSHConnection.__init__(self)
     self.factory = factory
     self._pendingChannelsDeferreds = []