Package ZenRRD :: Module zencommand :: Class MySshClient
[show private | hide private]
[frames | no frames]

Class MySshClient

  Factory --+            
            |            
ClientFactory --+        
                |        
  CollectorClient --+    
                    |    
            SshClient --+
                        |
                       MySshClient


Connection to SSH server at the remote device
Method Summary
  __init__(self, *args, **kw)
  addCommand(self, command)
Run a command against the server
  addResult(self, command, data, code)
Forward the results of the command execution to the starter
  check(self, ip, timeout)
Turn off blocking SshClient.test method
  clientFinished(self)
We don't need to track commands/results when they complete
Inherited from SshClient: loseConnection, run, serviceStarted
Inherited from CollectorClient: commandsFinished, getCommands, getResults
Inherited from ClientFactory: clientConnectionFailed, clientConnectionLost, startedConnecting
Inherited from Factory: buildProtocol, doStart, doStop, startFactory, stopFactory

Class Variable Summary
Inherited from CollectorClient: cmdindex, maintainConnection
Inherited from Factory: __implemented__, __providedBy__, __provides__, noisy, numPorts, protocol

Method Details

addCommand(self, command)

Run a command against the server
Overrides:
Products.DataCollector.SshClient.SshClient.addCommand

addResult(self, command, data, code)

Forward the results of the command execution to the starter
Overrides:
Products.DataCollector.CollectorClient.CollectorClient.addResult

check(self, ip, timeout=2)

Turn off blocking SshClient.test method

clientFinished(self)

We don't need to track commands/results when they complete
Overrides:
Products.DataCollector.CollectorClient.CollectorClient.clientFinished

Generated by Epydoc 2.1 on Thu Aug 16 09:55:11 2007 http://epydoc.sf.net