Package Products :: Package DataCollector :: Module SshClient :: Class SshClient
[show private | hide private]
[frames | no frames]

Class SshClient

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

Known Subclasses:
MySshClient

Method Summary
  __init__(self, hostname, ip, port, commands, options, device, datacollector)
  addCommand(self, commands)
add command to queue and open a command channel for a command
  loseConnection(self)
  run(self)
Start ssh collection.
  serviceStarted(self, sshconn)
run commands that are in the command queue
Inherited from CollectorClient: addResult, clientFinished, 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, commands)

add command to queue and open a command channel for a command
Overrides:
Products.DataCollector.CollectorClient.CollectorClient.addCommand

run(self)

Start ssh collection.

serviceStarted(self, sshconn)

run commands that are in the command queue

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