2020-06-22 20:48:09 +02:00
|
|
|
tristanable
|
|
|
|
===========
|
|
|
|
|
2020-06-22 21:36:06 +02:00
|
|
|
Tag-based asynchronous messaging framework
|
|
|
|
|
2020-06-23 09:19:56 +02: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 21:36:06 +02:00
|
|
|
## Format
|
|
|
|
|
|
|
|
```
|
2020-06-23 00:33:01 +02:00
|
|
|
[4 bytes (size-2, little endian)][8 bytes - tag][(2-size) bytes - data]
|
2020-06-23 00:33:52 +02:00
|
|
|
```
|
|
|
|
|
2020-06-23 09:18:14 +02:00
|
|
|
## Acknowledgements
|
2020-06-23 00:33:52 +02:00
|
|
|
|
2020-06-23 09:18:14 +02:00
|
|
|
Thansk to Gabby Smuts for the name suggestion 😉️
|