behaviours.HandleSvcRequestBehaviour module

class behaviours.HandleSvcRequestBehaviour.HandleSvcRequestBehaviour(agent_object, svc_req_interaction_type, svc_req_data)[source]

Bases: OneShotBehaviour

This class implements the behaviour that handles all the service requests that the AAS Manager has received. This request can arrive from an FIPA-ACL message as a Inter AAS Interaction or from the AAS Core as an Intra AAS Interaction message. This is a OneShotBehaviour because it handles an individual service request and then kills itself.

async on_start()[source]

This method implements the initialization process of this behaviour.

async run()[source]

This method implements the logic of the behaviour.

This method handles Asset Related Services. These services are part of I4.0 Application Component (application relevant).

async handle_aas_infrastructure_svc()[source]

This method handles AAS Infrastructure Services. These services are part of I4.0 Infrastructure Services (Systemic relevant). They are necessary to create AASs and make them localizable and are not offered by an AAS, but by the platform (computational infrastructure). These include the AAS Create Service (for creating AASs with unique identifiers), AAS Registry Services (for registering AASs) and AAS Exposure and Discovery Services (for searching for AASs).

async handle_aas_services()[source]

This method handles AAS Services. These services serve for the management of asset-related information through a set of infrastructure services provided by the AAS itself. These include Submodel Registry Services (to list and register submodels), Meta-information Management Services (including Classification Services, to check if the interface complies with the specifications; Contextualization Services, to check if they belong together in a context to build a common function; and Restriction of Use Services, divided between access control and usage control) and Exposure and Discovery Services (to search for submodels or asset related services).

async handle_submodel_services()[source]

This method handles Submodel Services. These services are part of I4.0 Application Component (application relevant).