Evgeny Poberezkin
3efb15ecb3
receiving messages and remaining client functions ( #15 )
...
* SMPClient queues for messages and notifications
* style
* SMPClient: put all messages (and uncorrelated server commands) to provided TBQueue
2021-02-26 18:11:22 +04:00
Evgeny Poberezkin
2e6ba85308
SMP client library ( #9 )
...
* functions to send SMP commands and receive responses
* refactor agent: use SMPClient
* fix tests, remove ServerClient.hs
* refactor processCommand
* fix Agent.hs
* fix SMPClient, tests
* "forever" to SMPClient process
2021-02-26 18:09:26 +04:00
Evgeny Poberezkin
253f4e39c9
JOIN command ( #4 )
...
* parse JOIN command
* parse JOIN command
* serialize NEW command
* parse and serialize CON response
* process JOIN command: SEND confirmation (WIP)
* process response to the confirmation from JOIN command
* remove comment
2021-01-11 18:31:10 +00:00
Evgeny Poberezkin
394803b3cf
remove/fix compiler warnings
2021-01-09 20:48:07 +00:00
Evgeny Poberezkin
3dbdb948ae
agent: respond with INV (TODO: store exception blows up; select does not work without port
2021-01-09 19:23:32 +00:00
Evgeny Poberezkin
48967167c4
add table mutexes for insert queries (to get inserted ID thread-safely via single connection)
2021-01-03 11:31:06 +00:00
Evgeny Poberezkin
d260a464d6
add error handling, function to process SMP responses
2021-01-03 10:42:41 +00:00
Efim Poberezkin
3c1834f93f
implement addServer command
2020-12-30 18:54:17 +04:00
Evgeny Poberezkin
cdf8695bef
send NEW command to SMP server (response is not received for some reason...)
2020-12-29 20:51:09 +00:00
Evgeny Poberezkin
9d15035fb3
client/agent transmission types, parse NEW/INV commands
2020-12-29 13:11:46 +00:00
Evgeny Poberezkin
cf38b4dddf
agent: Transmission type
2020-12-28 20:42:47 +00:00
Evgeny Poberezkin
a61d97aee0
rename Agent/Command -> Agent/Transmission
2020-12-28 17:08:48 +00:00
Evgeny Poberezkin
18ab9650b4
move queries to code
2020-12-27 12:47:39 +00:00
Evgeny Poberezkin
7bcd5ebcef
agent: creating schema
2020-12-27 10:26:08 +00:00
Evgeny Poberezkin
a3b53f68c5
empty database schema
2020-12-26 21:22:17 +00:00
Evgeny Poberezkin
501e8a140a
rename Env.hs -> Env/SQLite.hs
2020-12-26 13:01:57 +00:00