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

Class TelnetClient

  Factory --+        
            |        
ClientFactory --+    
                |    
  CollectorClient --+
                    |
                   TelnetClient


Method Summary
  __init__(self, hostname, ip, port, commands, options, device, datacollector)
  clientConnectionFailed(self, connector, reason)
if we don't connect let the modeler know
  clientFinished(self)
tell the datacollector that we are all done
  Command(self, commands)
add new commands to be run reset cmdindex to 0
  run(self)
Start telnet collection.
Inherited from CollectorClient: addCommand, addResult, commandsFinished, getCommands, getResults
Inherited from ClientFactory: 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

clientConnectionFailed(self, connector, reason)

if we don't connect let the modeler know
Overrides:
twisted.internet.protocol.ClientFactory.clientConnectionFailed

clientFinished(self)

tell the datacollector that we are all done
Overrides:
DataCollector.CollectorClient.CollectorClient.clientFinished (inherited documentation)

Command(self, commands)

add new commands to be run reset cmdindex to 0

run(self)

Start telnet collection.

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