- The actual queue is now an `SList!(TaggedMessage)`
- Added a stub method `enqueue(TaggedMessage)`
- Updated the stub method `dequeue()` which returns a `TaggedMessage` now
- Changed from using D's dynamic arrays for the array of `Queue` objects to using an `SList!(T)` where `T` is the `Queue` type
- Implemented `getQueue(ulong)` which returns the `Queue` object with the matching id/tag, else throws an instance of `TristanabaleException`
- Implemented `registerQueue(Queue)` which will attempt to add the provided `Queue` given that a queue does not already exist with the provided queue's id; if that is the case then an instance of `TristanableException` is thrown
Queue
- Made the constructor take in the `ulong` queue ID
- Made the constructor publically accessible
- Implemented `getID()` which returns the `Queue`'s id as a `ulong`
- Removed the static method `newQueue(ulong)`
Unit test
- Added a unit test to test `getQueue(ulong)` when the queue cannot be found
- Added a unit test to test adding a queue and successfully retrieving it
- Moved TODO below already completed code
Exceptions
- Renamed `Error` to `ErrorType`
- Constructing a new `TristanableException` will now store the passed in `ErrorType`
- Added `getError()` to `TristanableException` which returns the stored `ErrorType`
- Added two new memebrs to enum `ErrorType`, namely `QUEUE_NOT_FOUND` and `QUEUE_ALREADY_EXISTS`
- Added import for `bformat` and `encoding` module
- Documented `watch()`
- Added `bformat` read-and-decode `receiveMessage(Socket, ref byte[])` call followed by a `TaggedMessage.decode(byte[])` call
- Added documentation for fields `tag` and `data`
- Added documentation for both constructors
- Added documentation for `getPayload()`, `getTag()`, `setPayload(byte[])` and `setTag(ulong)`
- Added parameter-less (default) constructor marked as `private` to `TaggedMessage`
- Added decoding support in `decode(byte[])` which will return a new instance of `TaggedMessage`
- Added a unit test to test encoding and decoding
- Added stub `sendMessage(TaggedMessage)` which will encode into the tristanable format, then wrap into bformat and send over the socket
- Added import for `TaggedMessage` from `tristanable.encoding` module
- Ensured `Watcher`'s constructor is package-level accessible only
Manager
- The constructor now creates an instance of `Watcher`
- Added a `start()` method which calls `watcher.start()`
- Added public imports along with comments per each
Encoding
- Added a stub class, `TaggedMessage`, for encoding and decoding the tristanable byte payload
Exceptions
- Added `TristanableException` exception type along with the `Error` enum sub-type
Manager
- Added stub code for `Manager` to manage the queues and socket
Queue
- Added stub class representing a queue with a tag (`Queue`)
QueueItem
- Added stub class `QueueItem` which represents an item that is enqueued/dequeued onto a `Queue`
Watcher
- Added stub class `Watcher` which will manage the socket reading-wise
- Added an array of `Queue`(s) to the manager
Queue
- Added comments
- Initialize the libsnooze `Event` during construction of the `Queue` type
Dub
- Upgraded libsnooze from `0.2.7` to `0.2.9`
Repository
- Removed `dub.selections.json` file
- Added `dub.selections.json` to the `.gitignore`