1
0
forked from ROMEO/nexosim

189 Commits

Author SHA1 Message Date
Serge Barral
4531c21f02
Merge pull request #80 from asynchronics/feature/must_use_sync_status
Make the clock's SyncStatus #[must_use]
2025-01-19 17:26:14 +01:00
Serge Barral
a71231f398 Make the clock's SyncStatus #[must_use] 2025-01-19 17:23:38 +01:00
Serge Barral
c243410783
Merge pull request #79 from asynchronics/feature/halt_server_support
Add server support for halting the simulation
2025-01-19 16:12:00 +01:00
Serge Barral
3a23d81446 Add server support for halting the simulation 2025-01-19 15:46:21 +01:00
Serge Barral
37bef4f31b
Merge pull request #78 from asynchronics/feature/unix_domain_sockets
Unix socket server support + rename grpc -> server
2025-01-19 14:49:32 +01:00
Serge Barral
e526071a29 Unix socket server support + rename grpc -> server 2025-01-19 14:42:50 +01:00
Jauhien Piatlicki
81c1d61290
Merge pull request #77 from asynchronics/feature-simulation-halt
Make step_unbounded return an error when halted.
2025-01-17 12:59:31 +01:00
Jaŭhien Piatlicki
fea1ccc1c4 Changes after review. 2025-01-17 12:18:18 +01:00
Jaŭhien Piatlicki
2e58288b04 Make step_unbounded return an error when halted. 2025-01-17 12:13:47 +01:00
Jauhien Piatlicki
5117cc7ca0
Merge pull request #76 from asynchronics/feature-simulation-halt
Make ExecutionError non-exhaustive.
2025-01-15 16:22:27 +01:00
Jaŭhien Piatlicki
be6f5b4897 Make ExecutionError non-exhaustive. 2025-01-15 16:13:45 +01:00
Serge Barral
a29c7f9bfb
Merge pull request #74 from asynchronics/feature-simulation-halt
Add possibility to halt simulation
2025-01-15 16:03:36 +01:00
Jaŭhien Piatlicki
a223a14cc6 Change after review. 2025-01-15 15:59:33 +01:00
Jaŭhien Piatlicki
922d93bd01 Change method name 2025-01-15 14:38:31 +01:00
Jaŭhien Piatlicki
beaefe1d9e Changes after review 2025-01-15 13:38:27 +01:00
Jaŭhien Piatlicki
4111d49295 Provide dummy context for testing. 2025-01-15 13:29:36 +01:00
Jaŭhien Piatlicki
27ec1396df Add infinite step and an example. 2025-01-15 13:10:37 +01:00
Jaŭhien Piatlicki
1b08f10e42 Add possibility to halt simulation 2025-01-13 16:00:45 +01:00
Jauhien Piatlicki
2e0653e1e3
Merge pull request #73 from asynchronics/feature/grpc_rework
Feature/grpc rework
2025-01-12 22:22:22 +01:00
Serge Barral
7a95a4d0f4 OVarious gRPC improvements
This patch in particular allows asynchronous gRPC access to the scheduler
and to the monitoring functions.
2025-01-09 17:51:39 +01:00
Serge Barral
43407741eb Implement Clock for references to and boxed Clock 2025-01-09 17:08:18 +01:00
Serge Barral
8de53aff1f Make source event/query creation methods immutable 2025-01-09 17:08:18 +01:00
Serge Barral
a87bf493b3 Rename gRPC package as simulation.v1 2025-01-09 17:08:18 +01:00
Jauhien Piatlicki
42192ddfe3
Merge pull request #72 from asynchronics/move-uni-example
Move UniRequestor example to util crate
2024-12-12 12:34:15 +01:00
Jaŭhien Piatlicki
26e3e5c76b Move UniRequestor example to util crate 2024-12-12 12:27:59 +01:00
Serge Barral
4623765ca2
Merge pull request #71 from asynchronics/combinator
Add replier adaptor
2024-12-11 15:38:01 +01:00
Jaŭhien Piatlicki
d63bcdf4f0 Fix clippy warnings after version update 2024-12-09 15:01:21 +01:00
Jaŭhien Piatlicki
97c855293d Implement Default for ReplierAdaptor 2024-12-06 15:50:11 +01:00
Jaŭhien Piatlicki
0274e62eb0 Add replier adaptor 2024-12-06 15:29:18 +01:00
Jauhien Piatlicki
31be2b0c75
Merge pull request #70 from asynchronics/feature/report_missing_recipient
Report an error if a message cannot be delivered
2024-11-27 13:05:50 +01:00
Serge Barral
d4192e83ed Report an error if a message cannot be delivered 2024-11-26 16:19:22 +01:00
Serge Barral
d88c527cb7
Merge pull request #69 from asynchronics/feature-unirequestor
Add UniRequestor port
2024-11-26 12:22:26 +01:00
Jaŭhien Piatlicki
bb7923f689 Changes after review 2024-11-25 10:17:48 +01:00
Jaŭhien Piatlicki
c06233ad74 Change after review 2024-11-25 09:54:42 +01:00
Jaŭhien Piatlicki
5b2c872e15 Add UniRequestor port 2024-11-22 20:26:23 +01:00
Jauhien Piatlicki
224aea59e5
Merge pull request #68 from asynchronics/feature/detect_lost_messages
Detect lost messages
2024-11-19 12:59:49 +01:00
Serge Barral
f73a99bc4e
Update CHANGELOG.md 2024-11-18 23:46:05 +01:00
Serge Barral
b1a02bd07f Detect lost messages
Messages sent to a mailbox that wasn't added to the simulation are now
specifically detected. Earlier this would be wrongly reported as a
deadlock.
2024-11-18 18:56:23 +01:00
Serge Barral
0da9e6649d
Update README.md 2024-11-16 21:25:12 +01:00
Serge Barral
3fbceaed5d
Merge pull request #67 from asynchronics/release/0.3.0-beta.0
Prepare release v0.3.0-beta.0
2024-11-16 20:45:30 +01:00
Serge Barral
09b3c44eab Prepare release v0.3.0-beta.0 2024-11-16 20:40:08 +01:00
Serge Barral
7e07f3f949
Merge pull request #66 from asynchronics/feature/grpc-api-simplification
Simplify gRPC bench API
2024-11-16 20:36:27 +01:00
Serge Barral
f89624daf0 Simplify gRPC bench API 2024-11-16 20:33:44 +01:00
Serge Barral
0a10f256bc
Update README.md 2024-11-16 15:41:09 +01:00
Serge Barral
a6c3217fdf
Merge pull request #65 from asynchronics/feature/rename_crate
Rename crate to NeXosim
2024-11-16 12:32:05 +01:00
Serge Barral
5ab898ad79 Rename crate to NeXosim 2024-11-16 12:26:36 +01:00
Serge Barral
a96a4dc0bd
Merge pull request #64 from asynchronics/feature/grpc_api_change
Make the gRPC init more general
2024-11-15 23:26:40 +01:00
Serge Barral
84ad02a248 Make the gRPC init more general
Instead of producing a SimInit object, a bench is now expected to return
a fully constructed simulation with its scheduler.

This means that the client does not necessarily need to provide the
starting time for the simulation. This start time may be hardcoded in
the bench, or may be taken as a parameter for the bench configuration.

This change make it possible for benches to do more, for instance to
pre-schedule some events, or to do less, for instance by hardcoding the
simulation time rather than accept an arbitrary simulation time.
2024-11-15 23:23:17 +01:00
Jauhien Piatlicki
c749a49154
Merge pull request #63 from asynchronics/feature/misc_api_changes
Feature/misc api changes
2024-11-15 22:46:05 +01:00
Serge Barral
3c1056d699 Remove the LineId API
This was probably never used.
2024-11-15 17:15:25 +01:00