The Federate Starter that is responsible to start en stop processes on a local node sends the following messages:
This message is sent by the Federate Starter to the Model Controller until a “started” response is received from the Model. Since the message type id clarifies the function of this message and no information exchange is necessary, the payload field can be empty (number of fields = 0).
Message sent by the Federate Starter to the Federation Manager in response to message FM.1.
|instanceId||8||String(9)||The sender id of the model that was started or had an error while starting. This is exactly the same as the instanceId sent by the Federation Manager in the Start Federate message.|
|status||9||String(9)||A string that refers to the model status. Four options: “started”, “running”, “ended”, “error”.|
|modelPortNumber||10||short(1)||Port number of the model, so the FederateManager can connect to the model on this port for further simulation messages.|
|error||11||String(9)||Optional. If there is an error, the error message is sent as well. Otherwise this field is an empty string.|
The message is sent by the federate starter to a Model Controller. The number of extra fields is zero.
|instanceId||8||String(9)||Id to identify the model instance that was killed, e.g. "IDVV.14".|
|status||9||Boolean(6)||A boolean that indicates whether the federate has been successfully terminated.|
|error||10||String(9)||If ‘status’ is False, an error message that specifies the problem. Otherwise, an empty string.|
|status||8||Boolean(6)||A boolean that indicates whether all federates have been successfully terminated.|
|error||9||String(9)||If ‘status’ is False, an error message that specifies the problem. Otherwise, an empty string.|