-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstarter.py
19 lines (16 loc) · 849 Bytes
/
starter.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from notification.implementations.sm_stopper import SMStopper
from notification.implementations.sm_starter import SMStarter
from notification.implementations.sm_notification_checker import SMNotificationChecker
from notification.implementations.flask_app import app, server_notification_queue, client_notification_queue
from notification.implementations.server_actor import ServerActor
from notification.notification_sender import NotificationSender
if __name__ == "__main__":
notification_sender = NotificationSender(
starter=SMStarter(),
stopper=SMStopper(),
notification_checker=SMNotificationChecker(),
server_notification_queue=server_notification_queue,
client_notification_queue=client_notification_queue,
flask_app=app,
server_actor=ServerActor)
notification_sender.start()