Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ch4: short-lived strategy #110

Open
josephnoir opened this issue May 21, 2023 · 0 comments
Open

ch4: short-lived strategy #110

josephnoir opened this issue May 21, 2023 · 0 comments

Comments

@josephnoir
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant