code icon indicating copy to clipboard operation
code copied to clipboard

ch4: short-lived strategy

Open josephnoir opened this issue 1 year ago • 0 comments

The CubeSat created when sending is not used. There are inconsistencies with how the previous paragraphs build up the code. Listing 4.14 has the recipient CubeSat as an argument:

impl GroundStation {
    fn send(
      &self,
      mailbox: &mut Mailbox,
      to: &CubeSat,
      msg: Message,
    ) {
    // ...
  }
}”

In the final version (Listing 4.15) the argument is suddenly gone. As a result the base station no longer "needs to connect" to the satellite to send it a message.

josephnoir avatar May 21 '23 12:05 josephnoir