Package Products :: Package ZenHub :: Module notify :: Class NotifyItem |
[hide private]
[frames] | no frames]

# Class NotifyItem

source code

    object --+
             |
            NotifyItem

    These items are held in the BatchNotifier's queue. They contain all the
    context needed to process the subdevices of a specific device class. This
    context includes...

        device class UID: e.g. /zport/dmd/Devices/Server/Linux)
        subdevices: an iterator over the device classes subdevices)
        notify_functions: a dictionary mapping Service UID to notifyAll
                          function. An example Service UID is
                                     ('CommandPerformanceConfig', 'localhost')
        d: the deferred for this item. Always has the following callback
           chain:
             Slot          Callback                    Errback
               1    BatchNotifier._callback             None
               2             None                 BatchNotifier._errback

Instance Methods | [hide private]
__init__(self, device_class_uid, subdevices) | source code
__repr__(self) | source code

Method Details | [hide private]

### __init__(self, device_class_uid, subdevices) (Constructor) | source code
Overrides: object.__init__ (inherited documentation)

### __repr__(self) (Representation operator) | source code
Overrides: object.__repr__ (inherited documentation)