Commit Graph

32 Commits

Author SHA1 Message Date
David Majdandžić
b8e9642507 Implement closing and destroying center sessions
Although this currently serves little to no purpose because the sessions can not be opened again
2023-03-25 17:40:44 +01:00
David Majdandžić
6a29bb3014 Implement mode modification and R/W from file 2023-03-25 16:48:35 +01:00
David Majdandžić
4ec3e9fed0 Implement getAllModes endpoint 2023-03-25 16:44:46 +01:00
David Majdandžić
390ad046c2 Implement REST endpoints for center modification (username, password) 2023-03-25 16:34:14 +01:00
David Majdandžić
931f546653 Implement center operation modes 2023-03-25 16:27:12 +01:00
David Majdandžić
ff67a49796 Fix connections dropping due to enquire_links dropping 2023-03-25 16:22:34 +01:00
David Majdandžić
10da85dd90 Implement client replying to deliver and center to submit_sm 2023-03-25 16:19:00 +01:00
David Majdandžić
14ed759c1a Implement response from centers 2023-03-25 16:02:14 +01:00
David Majdandžić
7f2929161e Implement client session patch 2023-03-25 15:43:17 +01:00
David Majdandžić
7b79e864fc Implement client session username and password changing 2023-03-25 15:34:47 +01:00
David Majdandžić
d1757379b5 Fix the cleanup running twice 2023-03-25 14:59:29 +01:00
David Majdandžić
ba8bca95a8 Minor fixes regarding websockets 2023-03-25 14:47:59 +01:00
David Majdandžić
135a89f87f Minor fixes on center 2023-03-25 14:42:15 +01:00
David Majdandžić
c505c4b44e Implement endpoints for notify 2023-03-25 14:12:25 +01:00
David Majdandžić
b3d6faa1c9 Implement sending notify messages 2023-03-25 14:09:25 +01:00
David Majdandžić
d2e16ecbd5 Implement basic centerSession structure 2023-03-25 13:54:31 +01:00
David Majdandžić
2c5a9b3604 Clean up error handling on client 2023-03-25 13:40:24 +01:00
David Majdandžić
8a4ff4bf6c Refactor current structure to represent clientSessions 2023-03-25 13:12:49 +01:00
David Majdandžić
b7eab4f126 Create event for counter update and propagate to websockets 2023-03-24 22:13:29 +01:00
David Majdandžić
6cf5b99705 Clean code 2023-03-24 21:55:16 +01:00
David Majdandžić
1af1eda9d8 Implement cancel send timer 2023-03-24 21:28:38 +01:00
David Majdandžić
b6e50f5e1b Implement sending messages on interval 2023-03-24 21:21:58 +01:00
David Majdandžić
401497bee0 Implement writing to and reading from a sessions file 2023-03-24 20:29:35 +01:00
David Majdandžić
32d5d726af Sessions are now unique - no more than 1 can exist per url 2023-03-24 17:32:07 +01:00
David Majdandžić
796c9b473e Implement PDU broadcast to websocketserver 2023-03-24 17:24:15 +01:00
David Majdandžić
1ce8390189 Implement session deleting and generally clean up 2023-03-24 17:19:13 +01:00
David Majdandžić
cd9faee388 Fix issue with closing connections 2023-03-24 16:51:56 +01:00
David Majdandžić
5dc0e36818 Fix issues with websocket communication on status change 2023-03-24 16:45:44 +01:00
David Majdandžić
ca50864142 Cleanup 2023-03-24 16:38:45 +01:00
David Majdandžić
5ac4a6275b Implement websocket server 2023-03-24 16:16:13 +01:00
David Majdandžić
f535315b6f Add HTTPServer 2023-03-24 15:57:13 +01:00
David Majdandžić
5e2736c177 Initial commit 2023-03-24 15:14:29 +01:00