2020-06-22 18:48:09 +00:00
|
|
|
tristanable
|
|
|
|
===========
|
|
|
|
|
2020-06-22 19:36:06 +00:00
|
|
|
Tag-based asynchronous messaging framework
|
|
|
|
|
2020-06-23 07:19:56 +00:00
|
|
|
## 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)
|
|
|
|
|
|
|
|
```d
|
|
|
|
Manager manager = new Manager(socket);
|
|
|
|
```
|
|
|
|
|
|
|
|
Now the event loop would have started.
|
|
|
|
|
|
|
|
**TODO**
|
|
|
|
|
2020-06-22 19:36:06 +00:00
|
|
|
## Format
|
|
|
|
|
|
|
|
```
|
2020-06-22 22:33:01 +00:00
|
|
|
[4 bytes (size-2, little endian)][8 bytes - tag][(2-size) bytes - data]
|
2020-06-22 22:33:52 +00:00
|
|
|
```
|
|
|
|
|
2020-06-23 07:18:14 +00:00
|
|
|
## Acknowledgements
|
2020-06-22 22:33:52 +00:00
|
|
|
|
2020-06-23 07:18:14 +00:00
|
|
|
Thansk to Gabby Smuts for the name suggestion 😉️
|