netaddr.core.Subscriber

Package netaddr :: Module core :: Class Subscriber |
[hide private]
[frames] | no frames]

# Class Subscriber

    object --+
             |
            Subscriber

Known Subclasses:
  - PrettyPrinter
  - , ip.iana.DictUpdater
  - , eui.ieee.FileIndexer

An abstract class defining the interface expected by a Publisher.

Instance Methods | [hide private]
update(self, data) A callback method used by a Publisher to notify this Subscriber about updates. |
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### update(self, data) |
A callback method used by a Publisher to notify this Subscriber about updates. Parameters: `data` - a Python object containing data provided by Publisher.