smia.behaviours.negotiating_behaviour module¶
- class smia.behaviours.negotiating_behaviour.NegotiatingBehaviour(agent_object)[source]¶
Bases:
CyclicBehaviourThis class implements the behaviour that handles the negotiation requests made by other standardized SMIAs through ACL messages in the I4.0 System.
- async check_received_capability_request_data(cap_req_data)[source]¶
This method checks whether the data received contains the necessary information to be able to execute the agent capability. If an error occurs, it throws a CapabilityDataError exception.
- Parameters:
cap_req_data – (dict): all the information about the agent capability request