Commit Graph

5 Commits

Author SHA1 Message Date
Evgeny Poberezkin ddbf00fc46 Sending messages end to end (#21)
* duplex connection end-to-end (working, debug logs)

* agent: send, receive, acknowledge messages

* logging proposal

* logging: client/server (dis)connections

* agent scenario testing framework

* add tests, remove logs

* clean up
2021-01-20 21:01:54 +00:00
Evgeny Poberezkin 8d6bce98f9 Receive messages (#17)
* framework to parse and process agent messages

* update SMPClient functions to accept private key

* process messages (WIP)

* agent: create reply queue and send REPLY message with qInfo

* refactor agent commands

* refactor processSMPTransmission

* agent: logic to process REPLY message
2021-01-17 11:33:26 +00:00
Evgeny Poberezkin 2659110e96 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-01-15 15:54:43 +00:00
Evgeny Poberezkin 3ad0bffaab SMPClient returns errors via ExceptT (#13) 2021-01-13 19:49:45 +00:00
Evgeny Poberezkin c72deeda28 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-01-13 19:32:21 +00:00