Commit Graph

4 Commits

Author SHA1 Message Date
Lily Tsuru a5bf226d11 *: begin actually unittesting!
I probably should've a long time ago, but here we are.

The aries library now has unit tests written for it, so we can actually (?) ensure it won't break randomly. It's now only 50% cowboy code!

Also provides a stub implementation of aries::DecodeBinaryTagData, which will be completed later.
2024-03-21 08:18:18 -04:00
Lily Tsuru a3a43269fe *: Move most Aries protocol stuff to new "aries" library
Not everything is moved yet, this needs a bit more work.
2024-03-20 23:09:58 -04:00
Lily Tsuru 37f21d8167 *: Giant rework
We now have DirtySockClient and DirtySockServer classes which do the actual protocol server work. The server also allow setting the message fourccs that can be accepted, which in theory we can implement derived classes which set that up.. For now we don't do that and run one dummy lobby server

The message factory now handles parsing, and messages now contain the header (mostly for niceity, but in theory we can now bound stuff or smth idk..)

I moved the IMessage code to the root, and I may even move the MessageFactory class to another file if I can.
2024-03-10 05:55:40 -04:00
Lily Tsuru 4851371f56 Initial commit of rewrite based on base/ library
Should make the code actually possible to finish :v
2024-02-05 06:24:57 -05:00