Tag-based asynchronous messaging framework https://deavmi.assigned.network/projects/tristanable
Go to file
Tristan B. Kildaire 0a74099fa7 WIP: API docs
2020-06-23 09:19:56 +02:00
source/tristanable Cleaned up comment. 2020-06-23 09:18:20 +02:00
.gitignore Initial commit 2020-06-19 19:36:57 +02:00
dub.json Updated dub info 2020-06-21 17:39:50 +02:00
dub.selections.json Added module structure and stub modules. 2020-06-21 17:27:20 +02:00
LICENSE Initial commit 2020-06-19 19:36:57 +02:00
README.md WIP: API docs 2020-06-23 09:19:56 +02:00

tristanable

Tag-based asynchronous messaging framework

Usage

The entry point is via the Manager type, so first create an instance as follows (passing the endpoint Socket in as socket in this example)

Manager manager = new Manager(socket);

Now the event loop would have started.

TODO

Format

[4 bytes (size-2, little endian)][8 bytes - tag][(2-size) bytes - data]

Acknowledgements

Thansk to Gabby Smuts for the name suggestion 😉