utilities.GeneralUtils module

class utilities.GeneralUtils.GeneralUtils[source]

Bases: object

This class contains some general utils to ben used by any module.

static configure_logging()[source]

This method configures the logging to be used by all modules.

static create_acl_template(performative, ontology)[source]

This method creates a template aligned with FIPA-ACL standard.

Args:

performative(str): The performative of the template. ontology(str): The ontology of the template.

Returns:

Template: a SPADE template object.