MDS server & callback server

An additional callback service can be called in MDS to receive internal callbacks sent by the simulation, in addition to the genral API port.

By default, the MDS server runs on port 12345, and the MDS callback service runs on port 22345. You can change these default ports using command-line parameters.

Example: To set the server to port 99 and the callback server to port 101, use the following parameters.

./MDS Solaris.exe -serverPort 99 serverEventCallbackPort 101

MDS supports network callbacks. These callbacks are triggered when a scheduled event occurs, a satellite completes a maneuver, or communication between the satellite and a ground station is established or terminated.

MDS server callbacks

For instructions on how to handle network callbacks, please refer to the following example: example_mds_event_handler_client.py Another example where these are directly utilized can be found in example_compute_fleet_coverage.py