Router Python Module¶
Router module.
This module contains classes to handle routing of events to event handlers.
-
class
pacifica.dispatcher.router.
Route
(path: jsonpath2.path.Path, event_handler: pacifica.dispatcher.event_handlers.EventHandler)[source]¶ Route class.
This class routes an event to an event handler.
-
class
pacifica.dispatcher.router.
Router
[source]¶ Router handles a list of routes.
-
exception
pacifica.dispatcher.router.
RouterError
(router: pacifica.dispatcher.router.Router)[source]¶ Router base exception class.