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

Type ApplyDataMap

object --+
         |
        ApplyDataMap

Known Subclasses:
ApplyDataMapThread

Method Summary
  __init__(self, datacollector)
  applyDataMap(self, device, datamap, relname, compname, modname)
Apply a datamap passed as a list of dicts through XML-RPC.
  logChange(self, device, compname, eventClass, msg)
  logEvent(self, device, component, eventClass, msg, severity)
Used to report a change to a device model.
  processClient(self, device, collectorClient)
Apply datamps to device.
  stop(self)
  _applyDataMap(self, device, datamap)
Apply a datamap to a device.
  _createRelObject(self, device, objmap, relname)
Create an object on a relationship using its objmap.
  _updateObject(self, obj, objmap)
Update an object using a objmap.
  _updateRelationship(self, device, relmap)
Add/Update/Remote objects to the target relationship.
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Method Details

applyDataMap(self, device, datamap, relname='', compname='', modname='')

Apply a datamap passed as a list of dicts through XML-RPC.

logEvent(self, device, component, eventClass, msg, severity)

Used to report a change to a device model. Logs the given msg to log.info and creates an event.

processClient(self, device, collectorClient)

Apply datamps to device.

_applyDataMap(self, device, datamap)

Apply a datamap to a device.

_createRelObject(self, device, objmap, relname)

Create an object on a relationship using its objmap.

_updateObject(self, obj, objmap)

Update an object using a objmap.

_updateRelationship(self, device, relmap)

Add/Update/Remote objects to the target relationship.

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