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

Class BaseClient

source code

object --+
         |
        BaseClient

Define the DataCollector Client interface

Instance Methods [hide private]
 
__init__(self, device, datacollector)
Initializer
source code
 
run(self)
Start the data gathering.
source code
 
stop(self)
Stopping condition for the collector.
source code
list of results
getResults(self)
Return the results of the data collection.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, device, datacollector)
(Constructor)

source code 
Initializer
Parameters:
  • device (device object) - remote device to use the datacollector
  • datacollector (datacollector object) - performance data collector object
Overrides: object.__init__

run(self)

source code 
Start the data gathering. To be implemented by child classes

stop(self)

source code 
Stopping condition for the collector. To be implemented by child classes

getResults(self)

source code 
Return the results of the data collection. To be implemented by child classes
Returns: list of results
list of results