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

Class CollectorClient

  Factory --+    
            |    
ClientFactory --+
                |
               CollectorClient

Known Subclasses:
SshClient

Method Summary
  __init__(self, hostname, ip, port, commands, options, device, datacollector, log)
  addCommand(self, command)
  addResult(self, command, data, exitCode)
add a result pair to the results store
  clientFinished(self)
tell the datacollector that we are all done
  commandsFinished(self)
called by protocol to see if all commands have been run
  getCommands(self)
  getResults(self)
Inherited from ClientFactory: clientConnectionFailed, clientConnectionLost, startedConnecting
Inherited from Factory: buildProtocol, doStart, doStop, startFactory, stopFactory

Class Variable Summary
int cmdindex = 0                                                                     
bool maintainConnection = False
Inherited from Factory: __implemented__, __providedBy__, __provides__, noisy, numPorts, protocol

Method Details

addResult(self, command, data, exitCode)

add a result pair to the results store

clientFinished(self)

tell the datacollector that we are all done

commandsFinished(self)

called by protocol to see if all commands have been run

Class Variable Details

cmdindex

Type:
int
Value:
0                                                                     

maintainConnection

Type:
bool
Value:
False                                                                  

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