Commit Graph

10 Commits

Author SHA1 Message Date
e1bf733ebb changes for testing agent connect by returning a synchronizer() function
that must be called after connect to synchronize data.
2024-08-24 19:48:53 +02:00
ba8bd15cf7 work in progress for testing the matchmaker. 2024-08-23 21:10:01 +02:00
53534af27c test for ListenForAgentEvents implemented. 2024-08-21 17:48:47 +02:00
a3fe2fbcb6 hostkey is now sent from the server to the agent so that at a later
stage we can make the hostkey conrfigurable at the server level instead
of using a fixed hardcoded key.
2024-08-17 21:35:29 +02:00
b6962e3cb6 Server side sorting for the websessions page. No longer using LinkedMap as a result. 2024-08-16 00:25:17 +02:00
cdfe7c2a47 Separated out the metadata about the agents and clients from the agentConnection and clientConnection objects. Now, the state does not need to be copied anymore when sending notifications.
The matchmaker uses copy on write every time a new agent or client connects or disconnects.
2024-08-15 22:08:24 +02:00
56ad9fbf03 concurrency for the expiry time 2024-08-15 21:25:30 +02:00
fd18a63360 now using maps of Guid to Agent/Client in the state, working towards the definitive solution.
Using LinkedMap that preserves insertion order for the implementation and also added unit tests for that.
2024-08-15 21:04:31 +02:00
98f6b414de introdcution of typesafe ids. 2024-08-15 18:32:59 +02:00
dfdea81c20 renamed converge package to matchmaker. 2024-08-12 21:53:26 +02:00