smia.states.state_booting module

class smia.states.state_booting.StateBooting[source]

Bases: State

This class contains the Boot state of the common SMIA.

async run()[source]

This method implements the boot state of the common SMIA. Here all the required initialization tasks are performed.

async booting_state_logic()[source]

This method contains the logic of the boot state of the common SMIA. This method can be used by any inherited class.

async send_register_css_elements_acl_msg()[source]

This method sends the ACL message to register all the CSS elements of the instance, extracted from the self-configuration process. All the CSS elements will be registered in the SMIA KB through an infrastructure service provided by the SMIA ISM. It will wait 5 seconds for the ‘inform’ performative message with the registration confirmation. If it does not receive any message, it will just show a warning message and continue its execution.

async send_register_instance_acl_msg()[source]

This method sends the ACL message to register its instance in the SMIA KB through an infrastructure service provided by the SMIA ISM. It will wait 5 seconds for the ‘inform’ performative message with the registration confirmation. If it does not receive any message, it will just show a warning message and continue its execution.