Commit Graph

3 Commits

Author SHA1 Message Date
modeco80
4583531fce re-implement binrect protocol
pretty easy since we can just subclass guac
2024-08-23 10:14:23 -04:00
modeco80
a82388f823 handle admin messages
TODO: Add senders for admin responses
and flag
and rename

also verify I didn't fuck boolean conversion up
2024-08-23 10:14:20 -04:00
modeco80
1c062697b9 WIP: protocol abstraction
Work on abstracting the CollabVMServer so it now calls into a interface for sending/recieving protocol messages. This will allow cleaner bringup of a fully binary protocol, and generally is just cleaner code.

Mostly everything is parsd/running through this new layer, although there are some TODO items:

- NetworkClient/... should just spit out a Buffer or something that eventually turns into or has one
- TCP protocol will need to be revamped so we can support an actual binary protocol on top of it. The current thing is line based
- More admin op stuff needs to be handled
- The handlers are a bit jumbled around atm
- There is still a good amount of code which assumes guacamole which needs to be rewritten

dont use this branch fuckers
2024-08-23 10:13:15 -04:00