eventify’s documentation¶
eventify package¶
Subpackages¶
eventify.drivers package¶
Submodules¶
eventify.drivers.crossbar module¶
Crossbar Driver Module
-
class
eventify.drivers.crossbar.
Component
(config=None)[source]¶ Bases:
eventify.drivers.base.BaseComponent
,autobahn.asyncio.wamp.ApplicationSession
Handle subscribing to topics
-
log
= <Logger eventify.drivers.crossbar (WARNING)>¶
-
lookup_session
(topic_name)[source]¶ Attempts to find the session id for a given topic
http://crossbar.io/docs/Subscription-Meta-Events-and-Procedures/
-
show_sessions
()[source]¶ Returns an object with a lists of the session IDs for all sessions currently attached to the realm
-
-
class
eventify.drivers.crossbar.
Service
(driver='crossbar', config_file='config.json', handlers=None)[source]¶ Bases:
eventify.Eventify
Create crossbar service
Module contents¶
eventify.event package¶
eventify.exceptions package¶
Module contents¶
Eventify exceptions
-
exception
eventify.exceptions.
EventifyConfigError
(message)[source]¶ Bases:
Exception
Configuration related errors
-
exception
eventify.exceptions.
EventifyHandlerInitializationFailed
(message)[source]¶ Bases:
Exception
- Error initialization of handler. It means that we can not continue working so service should be stopped
with non zero exit code
-
exception
eventify.exceptions.
EventifyInitError
(message)[source]¶ Bases:
Exception
Initialization errors
eventify.persist package¶
Submodules¶
eventify.persist.constants module¶
Eventify Persistance Configuration
Submodules¶
eventify.base_handler module¶
Abstract Base Class for Handler
eventify.service module¶
Service Module
-
class
eventify.service.
Service
(driver='crossbar', config_file='config.json', handlers=None)[source]¶ Bases:
eventify.drivers.crossbar.Service
Crossbar Service
Module contents¶
Eventify! A simple module for implementing event driven systems
Summary¶
A simple python module for building event driven systems.