Event Handlers Python Module¶
Event handlers module.
This module contains classes for handling the events. Users of this
library should create their own instances of the abstract class
EventHandler
to process on the downloaded data.
-
class
pacifica.dispatcher.event_handlers.
EventHandler
[source]¶ Event handler abstract class.
This class defines the interface for handling a cloud event.
-
_abc_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache_version
= 42¶
-
_abc_registry
= <_weakrefset.WeakSet object>¶
-
-
class
pacifica.dispatcher.event_handlers.
NoopEventHandler
[source]¶ The Noop event handler class.
This class is a stub that does nothing when an event is received. This class maybe useful if the act of downloading and uploading is desired with no processing.
-
_abc_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache_version
= 42¶
-
_abc_registry
= <_weakrefset.WeakSet object>¶
-
-
class
pacifica.dispatcher.event_handlers.
ExceptionEventHandler
[source]¶ The exception event handler class.
This class is a stub that raises an exception when an event is received. This class is useful for testing error handling in the overall workflow.
-
_abc_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache_version
= 42¶
-
_abc_registry
= <_weakrefset.WeakSet object>¶
-