Commit 548cd4bf authored by Millian Poquet's avatar Millian Poquet

[doc] remove remaining references to the NOP event

parent 78167b62
......@@ -93,7 +93,6 @@ Constraints on the message format are defined here:
## Table of Events
- Bidirectional
- [NOP](#nop)
- [QUERY](#query)
- [ANSWER](#answer)
- [NOTIFY](#notify)
......@@ -124,21 +123,6 @@ direction.
BATSIM <---> SCHEDULER
```
### NOP
The simplest message, stands either for: "nothing happened" if sent by
Batsim, or "do nothing" if sent by the scheduler. It means that the
events list is empty: ``"events": []``
- **data**: N/A
- **full message example**:
```json
{
"now": 1024.42,
"events":[]
}
```
### QUERY
This message allows a peer to ask specific information to its counterpart:
......@@ -416,9 +400,8 @@ metainformation from Batsim to any scheduler at runtime.
### SIMULATION_ENDS
Sent when Batsim thinks that the simulation is over. It means that all the jobs
(either coming from Batsim workloads/workflows inputs, or dynamically submitted)
have been submitted and executed (or rejected). The scheduler should
answer a [NOP](#nop) to this message then close its socket and terminate.
(either coming from Batsim workloads/workflows inputs, or dynamically submitted)
have been submitted and executed (or rejected). When receiving this message, the scheduler should 1. send a message without event to Batsim, 2. close its socket then 3. terminate.
- **data**: empty
- **example**:
......
......@@ -42,7 +42,7 @@ struct ServerData
bool end_of_simulation_in_send_buffer = false; //!< Whether the SIMULATION_ENDS is in the decision process send buffer
bool end_of_simulation_sent = false; //!< Whether the SIMULATION_ENDS event has been sent to the scheduler
bool end_of_simulation_ack_received = false; //!< Whether the SIMULATION_ENDS acknowledgement (NOP) event has been received
bool end_of_simulation_ack_received = false; //!< Whether the SIMULATION_ENDS acknowledgement (empty message) has been received
std::map<std::string, Submitter*> submitters; //!< The submitters
std::map<JobIdentifier, Submitter*> origin_of_jobs; //!< Stores whether a Submitter must be notified on job completion
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment