SSTI_SERV_EVENT_GROUP (SSTI API Event)

SSTI server sends us the group name (either by our request or after reading its config).

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_GROUP


str


the name of the group SSTI manages


id


-- not used --

Comments

This event contains the group name being managed. The event can be fired either:

The server initialization events order is the following:

  1. Server restarted

  2. SSTI_SERV_EVENT_RESET

  3. Server starts reading config, this takes 10-20 seconds

  4. Config notecard has been read, config is known now

  5. SSTI_SERV_EVENT_INITIALIZED

  6. SSTI_SERV_EVENT_GROUP (sent without your request)

  7. SSTI_SERV_EVENT_CLOUD (sent without your request)

  8. SSTI server starts doing its work

Important: The server may send you the group name without your request, for example, on main script restart. Be prepared to get this event at any time (for example, customer may edit the configuration notecard).

Example

This example demonstrates how you can get the group name from SSTI box.

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.