1. 20 Dec, 2019 4 commits
  2. 16 Dec, 2019 1 commit
  3. 14 Dec, 2019 20 commits
  4. 03 Dec, 2019 4 commits
    • Leonora Tindall's avatar
      Polish API and documentation for netmod-mem · f25394b5
      Leonora Tindall authored
      Add ticks() method to get number of ticks on a medium so far
      Rename new() to with_latency() to read better in source code
      Change tick() to take a &mut reference rather than ownership
      Add a lot of documentation
    • Leonora Tindall's avatar
      Remove unnecessary RwLock in MemMod. · 5860b843
      Leonora Tindall authored
      Since we were already just using .get_mut() anyway, we can drop the
      RwLock entirely and just use a regular reference.
    • Leonora Tindall's avatar
      Split netmod-mem::media into multiple files. · 46ef058d
      Leonora Tindall authored
      This is just a quick reformatting commit, but it will make things much
      easier when adding additional in-memory media.
    • Leonora Tindall's avatar
      Add `BroadcastMedium` with simulated latency · 8e48c31d
      Leonora Tindall authored
      It is meant to be just one of several simulated media which connect to
      `MemMod`s and provide various levels of simulation. `BroadcastMedium`
      does no switching and cannot simulate frame loss, but does allow
      uniform simulated latency.
      It presents an tick-based simulation interface that allows easily
      updating the simulation whenever is appropriate to the calling thread.
  5. 14 Nov, 2019 3 commits
  6. 12 Nov, 2019 8 commits