| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
RestrictedDispatcher
`Dispatcher` wrapper that filters the list of supported events.
Filter rules (in the specified order):
- If it matches a disallow rule, it is not let through
- If there are no allow rules, all the rest is let through
- If there are allow rules, it must match an allow rule
Check `Dispatcher` for the documentation of the methods that are left
undocumented here.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
| events | |||
|
Inherited from |
|||
|
|||
Construct a restricted dispatcher.
`disallow` takes precedence over `allow_events`.
Parameters:
dispatcher :: Dispatcher
the dispatcher to wrap around
allow :: (string...):
a list of events that are allowed. If `None`, all are allowed,
unless they are in `disallow_events`
disallow :: (string...)
disallowed events
|
|
|||
events
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0 on Mon Jul 19 11:49:29 2010 | http://epydoc.sourceforge.net |