Package Products :: Package ZenHub :: Module zodb |
[hide private]
[frames] | no frames]

# Module zodb

source code

Classes | [hide private]
InvalidationEvent
UpdateEvent
DeletionEvent

Functions | [hide private]
_listener_decorator_factory(eventtype) Given a particular event interface, returns a decorator factory that may be used to create decorators for methods causing those methods, when bound, to be registered as object event subscribers. | source code

Variables | [hide private]
| log = `logging.getLogger('zen.ZenHub')`
| onUpdate = `_listener_decorator_factory(IUpdateEvent)`
| onDelete = `_listener_decorator_factory(IDeletionEvent)`

Function Details | [hide private]

### _listener_decorator_factory(eventtype) | source code
Given a particular event interface, returns a decorator factory that may be used to create decorators for methods causing those methods, when bound, to be registered as object event subscribers. Parameters: `eventtype` - The event interface to which the subscribers should listen.