Trees | Index | Help |
|
---|
Package DataCollector :: Module CollectorClient :: Class CollectorClient |
|
Factory
--+ |ClientFactory
--+ | CollectorClient
SshClient
,
TelnetClient
Method Summary | |
---|---|
__init__(self,
hostname,
ip,
port,
commands,
options,
device,
datacollector,
log)
| |
addCommand(self,
command)
| |
add a result pair to the results store | |
tell the datacollector that we are all done | |
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
|
maintainConnection
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:12 2007 | http://epydoc.sf.net |