Commit Graph

60 Commits

Author SHA1 Message Date
Tristan 🅱. Kildaire a0bb8fd477 Added notifcation system 2020-09-24 20:51:57 +02:00
Tristan 🅱. Kildaire 47565b5692 WIP: reserved tags/notifcation system 2020-09-24 20:49:59 +02:00
Tristan 🅱. Kildaire 4623cbd304 Added NotificationReply class to represent an incoming notification message 2020-09-24 20:31:15 +02:00
Tristan 🅱. Kildaire 485995bfe3 Added methods to add a reserved tag and check whether a tag is reserved, added queue for notifications and also a list of reserved tags 2020-09-24 20:30:59 +02:00
Tristan 🅱. Kildaire d46da412b4 Added check for whether something is a reserved tag 2020-09-24 20:30:32 +02:00
Tristan B. Kildaire 2960a8ec57 Implemented `stopManager` function which also calls on the now implemented `stopWatcher` and `stopGC` functions. 2020-06-24 11:14:53 +02:00
Tristan B. Kildaire 3494df6fdb Upgraded examples 2020-06-24 11:07:21 +02:00
Tristan B. Kildaire 65f5667eca Refactored. 2020-06-24 11:04:36 +02:00
Tristan B. Kildaire d035cdc207 Added thread safe watcher (and also multithreaded it) 2020-06-23 17:08:31 +02:00
Tristan B. Kildaire e5eb241502 Added missing right brace to toString string and refectored string generation. 2020-06-23 15:11:31 +02:00
Tristan B. Kildaire e7c99ebf5e Implemented toString for Request 2020-06-23 15:06:27 +02:00
Tristan B. Kildaire 612bd9fc8c Testing updates 2020-06-23 15:03:12 +02:00
Tristan B. Kildaire c1af63ba89 Throws exception on waiting for an invalid tag 2020-06-23 14:52:43 +02:00
Tristan B. Kildaire 8f19f2ec7f Skip dead requests. 2020-06-23 14:49:08 +02:00
Tristan B. Kildaire 1cec094633 Don't tarverse array more thna once. 2020-06-23 14:39:34 +02:00
Tristan B. Kildaire d314aa98e6 Garbage collector works 2020-06-23 14:34:34 +02:00
Tristan B. Kildaire c958370e37 Fixed issue #3 2020-06-23 14:25:08 +02:00
Tristan B. Kildaire f440727800 Fixed bug whereby the queue mutex would not be unlocked. 2020-06-23 14:22:00 +02:00
Tristan B. Kildaire 0b0ded86ee Pls 2020-06-23 14:16:55 +02:00
Tristan B. Kildaire 2d994d806a Pls work 2020-06-23 14:15:45 +02:00
Tristan B. Kildaire bbdf440d6a Upgraded dependancies for example code 2020-06-23 13:57:40 +02:00
Tristan B. Kildaire eee5867f5c WIP: Throw an error though 2020-06-23 13:31:36 +02:00
Tristan B. Kildaire 6e8e338af1 Updated tets case, we need to make the reeuqets dead 2020-06-23 13:18:42 +02:00
Tristan B. Kildaire 0f2bdb9051 Testing updates 2020-06-23 12:46:22 +02:00
Tristan B. Kildaire 086c1646b1 Fixed bug whereby requests would never be fulfilled because the fulfillment variable was never set to true. 2020-06-23 12:46:04 +02:00
Tristan B. Kildaire 705b0f8cbe `sendMessage` now uses encoder library for message encoding. 2020-06-23 12:23:56 +02:00
Tristan B. Kildaire 2dcd0f4fff Encoding library finished 2020-06-23 12:23:10 +02:00
Tristan B. Kildaire 83b863a9d8 Added protocol encoder decoder library 2020-06-23 12:21:19 +02:00
Tristan B. Kildaire 04cc444d32 Fixed bug whereby this shit definately would break. 2020-06-23 12:20:34 +02:00
Tristan B. Kildaire 0a7dda74a0 Adding tests 2020-06-23 12:11:31 +02:00
Tristan B. Kildaire 46c6c065d0 WIP: Example code 2020-06-23 11:53:05 +02:00
Tristan B. Kildaire 41dcefeb9f Updated source path in dub.json 2020-06-23 11:52:36 +02:00
Tristan B. Kildaire 1831e65193 Added logo 2020-06-23 11:33:10 +02:00
Tristan B. Kildaire 594914d33b Implemented Request queue garbage collection. 2020-06-23 11:18:41 +02:00
Tristan B. Kildaire 02ca3d9bb5 Added garbage collection to the queue. 2020-06-23 11:09:44 +02:00
Tristan B. Kildaire c1712d8afe Updated API docs 2020-06-23 10:58:11 +02:00
Tristan B. Kildaire 7787ffe1fb Added more to API docs. 2020-06-23 09:23:26 +02:00
Tristan B. Kildaire 0a74099fa7 WIP: API docs 2020-06-23 09:19:56 +02:00
Tristan B. Kildaire bef0c0f740 Cleaned up comment. 2020-06-23 09:18:20 +02:00
Tristan B. Kildaire 3fd7e3ef47 Dankie Gabs vir die name suggestion 2020-06-23 09:18:14 +02:00
Tristan B. Kildaire 818b12f111 Removed unused function. 2020-06-23 09:16:40 +02:00
Tristan B. Kildaire b75b11e2b0 Finalised 2020-06-23 01:07:17 +02:00
Tristan B. Kildaire e0c563ce68 Credit where credit is due 2020-06-23 00:33:52 +02:00
Tristan B. Kildaire 6e2a92a59b Added all code needed to get it working. 2020-06-23 00:33:01 +02:00
Tristan B. Kildaire 71879638c6 Fixed all compilation issues. 2020-06-22 22:37:45 +02:00
Tristan B. Kildaire e46f7d80fd Fixed variable name. 2020-06-22 22:36:58 +02:00
Tristan B. Kildaire 581b6bd5ee Construct tristanable pakcet. 2020-06-22 22:36:43 +02:00
Tristan B. Kildaire cbadba2f1e Save socket. 2020-06-22 22:25:58 +02:00
Tristan B. Kildaire 86e7a9c11f Send generated message over socket to endpoint. 2020-06-22 22:25:32 +02:00
Tristan B. Kildaire 63119aab91 Added new depepdancy. 2020-06-22 22:23:33 +02:00