Logo
Explore Help
Sign In
cthrace/collabvm-1.2.ts
1
0
Fork 0
You've already forked collabvm-1.2.ts
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
6e1a075194a9735c10426edc101dfe513495041a
collabvm-1.2.ts/cvmts/src/BinRectsProtocol.ts

7 lines
282 B
TypeScript
Raw Normal View History

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-21 07:10:58 -04:00
import * as msgpack from 'msgpackr';
import { CollabVMProtocolMessage, CollabVMProtocolMessageType } from '@cvmts/collab-vm-1.2-binary-protocol';
// TODO: reimplement binrects protocol
// we can just create/proxy a GuacamoleProtocol manually,
// and for the rects do our own thing
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 522ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API