SSTI_SERV_EVENT_RESET (SSTI API Event)
Event fires when SSTI main script has just restarted.
Variables
The following table shows input values (you send them with the API call) and returned output values.
Variable | Required | Description | |
|---|---|---|---|
link_message parameters: | |||
num | SSTI_SERV_EVENT_RESET | ||
str | -- not used -- | ||
id | -- not used -- |
Comments
This event fires when SSTI server main script has got restarted. No initialization has been read at this point (group name is not known). The configuration notecard will be read after this event.
The server initialization events order is the following:
Server restarted
SSTI_SERV_EVENT_RESET
Server starts reading config, this takes 10-20 seconds
Config notecard has been read, config is known now
SSTI_SERV_EVENT_GROUP (sent without your request)
SSTI_SERV_EVENT_CLOUD (sent without your request)
SSTI server starts doing its work
Important: The server can be restarted by the user or sim at any moment. Be prepared to get this event at any time (for example, customer edits the configuration notecard).
Example
This example demonstrates the arrival of SSTI initialization events
Code sample missing: the old wiki failed to render this code block, so it was not in the source. Restore it from the original source.
Code sample missing: the old wiki failed to render this code block, so it was not in the source. Restore it from the original source.