Commit Graph

143 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire 0f6a10f012 Fixed compilation errors 2022-05-20 21:02:05 +02:00
Tristan B. Velloza Kildaire d1547eccef Only assign the timeout if newSys is true 2022-05-19 22:01:29 +02:00
Tristan B. Velloza Kildaire 9da01c7376 One must now explicitly start tristanable 2022-05-19 18:40:25 +02:00
Tristan B. Velloza Kildaire 35e7b6e3b3 Bug fix for all queue operations failing on alive sockets (inverted boolean) 2022-05-17 14:52:09 +02:00
Tristan B. Velloza Kildaire 76552350a0 Implemented invalidation 2022-05-17 14:42:29 +02:00
Tristan B. Velloza Kildaire 4c7f6f5ea2 Added invalidation mechanism 2022-05-17 14:42:19 +02:00
Tristan B. Velloza Kildaire 29334ef2a0 Added new exception for manager errors 2022-05-17 14:42:00 +02:00
Tristan B. Velloza Kildaire e45d49f643 Added todo list 2022-05-17 14:41:51 +02:00
Tristan B. Velloza Kildaire cbfefabb06 Added exceptions to package import path 2022-05-17 14:05:00 +02:00
Tristan B. Velloza Kildaire 6613d92908 Expose new system architetcure to users via Manager constructor, however default to disabled 2022-05-17 13:54:21 +02:00
Tristan B. Velloza Kildaire 7de5d00c60 Added new system 2022-05-17 13:44:26 +02:00
Tristan B. Velloza Kildaire 57e72899e3 test 2022-05-10 15:32:42 +02:00
Tristan B. Velloza Kildaire d97853cc6f Fixed compilation error 2022-05-10 15:27:39 +02:00
Tristan B. Velloza Kildaire 281b6acf65 Attempt using select() implementation 2022-05-10 15:25:05 +02:00
Tristan B. Velloza Kildaire c24af8e17a Added select timeout 2022-05-10 15:22:54 +02:00
Tristan B. Velloza Kildaire 199886cd8f Work on select 2022-05-10 15:21:51 +02:00
Tristan B. Velloza Kildaire 586835a627 Removed this bitch ass hoe 2022-03-19 13:51:31 +02:00
Tristan B. Velloza Kildaire e59dca0c4d this.flags was not set, resulting in the default .init for QueuePolicy being used and enforcing LENGHT_CAPPING by default even when default behaviour should be not to, per the constructors (this()'s) parameters 2022-03-19 13:29:32 +02:00
Tristan B. Velloza Kildaire ad99ef63d9 Added TODO 2021-09-09 16:18:16 +02:00
Tristan B. Velloza Kildaire b58fb718a7 Added some comments 2021-09-09 16:09:27 +02:00
Tristan B. Velloza Kildaire ddd46f3388 Added some comments 2021-09-09 18:02:45 +02:00
Tristan B. Velloza Kildaire df4d479e54 Throw an exception when trying to remove a queue with an id not in use by any queue 2021-09-09 18:01:14 +02:00
Tristan B. Velloza Kildaire 0c43e80cf6 Throw an exception when trying to add a queue with an id already in use by another queue 2021-09-09 18:00:59 +02:00
Tristan B. Velloza Kildaire 26bdcf7d83 Added comment 2021-09-09 11:30:44 +02:00
Tristan B. Velloza Kildaire c241d06ea9 Added `poll()` which lets user check if the queue is empty or not 2021-09-09 11:21:19 +02:00
Tristan B. Velloza Kildaire 9c7d15dc89 corrected last commit 2021-09-08 22:09:48 +02:00
Tristan B. Velloza Kildaire e1c28d9c11 Added `getSocket()` method to the Manager class 2021-09-08 22:08:03 +02:00
Tristan B. Velloza Kildaire b4bf4d5af5 Fixed bug for shutdowns 2021-09-08 20:54:34 +02:00
Tristan B. Velloza Kildaire e5a0a280bc Changed API 2021-09-08 20:50:22 +02:00
Tristan B. Velloza Kildaire b060b30c44 Added `sendMessage` to bformat encode the final t-encoded message 2021-09-08 20:45:39 +02:00
Tristan B. Velloza Kildaire ce3772c66c Reverted 2021-09-08 20:28:14 +02:00
Tristan B. Velloza Kildaire 256c6154cc Test 2021-09-08 20:27:11 +02:00
Tristan B. Velloza Kildaire 372d4cdc78 Upgraded bforat 2021-09-08 20:24:50 +02:00
Tristan B. Velloza Kildaire 1b88d1f8bf Added some exceptional stuff 2021-09-08 20:24:45 +02:00
Tristan B. Velloza Kildaire 6382343916 Marked todo item as done 2021-09-08 19:23:44 +02:00
Tristan B. Velloza Kildaire 4316d4817f Marked todo item as completed 2021-09-08 19:23:23 +02:00
Tristan B. Velloza Kildaire 88be3d08e3 Added exception class
ALso added `getQueues()` function
2021-09-08 19:21:33 +02:00
Tristan B. Velloza Kildaire d9e5e54477 Added some todos for later 2021-09-08 14:29:27 +02:00
Tristan B. Velloza Kildaire 4f83991baf Added the ability to delete a queue
Updated todo
2021-09-08 14:24:58 +02:00
Tristan B. Velloza Kildaire 6d133a15ba Updated todo 2021-09-08 14:08:22 +02:00
Tristan B. Velloza Kildaire 6a00c620ec Cleaned up import 2021-09-08 14:07:56 +02:00
Tristan B. Velloza Kildaire a3ca66db2b Added the ability to set a max length for queues 2021-09-08 14:06:38 +02:00
Tristan B. Velloza Kildaire 3ce8bda7de Clean up 2021-09-08 13:51:28 +02:00
Tristan B. Velloza Kildaire 7ba3c9f1f7 Added package.d 2021-09-08 13:49:41 +02:00
Tristan B. Velloza Kildaire 445e008603 `generateQueue()` now uses new `isValidTag(ulong)` 2021-09-08 13:47:53 +02:00
Tristan B. Velloza Kildaire d48cc4267e Clean up 2021-09-08 13:47:04 +02:00
Tristan B. Velloza Kildaire 3103adcb0f Removed uneeded function 2021-09-08 13:46:57 +02:00
Tristan B. Velloza Kildaire e8d4e0ae20 addQueue() now uses recursive mutex capabilities with re-impkemented `isValidTag()` 2021-09-08 13:46:38 +02:00
Tristan B. Velloza Kildaire ea32c7eef4 Re-implemented `isValidTag(ulong)` 2021-09-08 13:46:05 +02:00
Tristan B. Velloza Kildaire 384f286f83 Use recursive mutex capabilities 2021-09-08 13:42:25 +02:00