ASU-cubesat / cfdp-rs

A rust implementation of the CCSDS File Delivery Protocol (CFDP)
MIT License
9 stars 2 forks source link

Actually send MessageToUser to the User #22

Closed mkolopanis closed 1 year ago

mkolopanis commented 1 year ago

came up in #18, need to make sure that the MessageToUser are actually sent to the users. Currently User multiple User instances are instantiated during testing and the current implementation has no broadcast functionality to send all messages to all users

once an async runtime is adapted this should be easy to solve with a broadcast channel as both tokio and async-std have implementations for this.

https://github.com/ASU-cubesat/cfdp-rs/blob/user_trait/cfdp-core/src/daemon.rs#L835

mkolopanis commented 1 year ago

This was closed in #30