pymasep.application.connected_sub_app_info ========================================== .. py:module:: pymasep.application.connected_sub_app_info Classes ------- .. autoapisummary:: pymasep.application.connected_sub_app_info.ConnectedSubAppInfo Module Contents --------------- .. py:class:: ConnectedSubAppInfo(sub_app_id, role, msg_queue = None, agent_fname = None) Information of a sub application connected to another one. :param sub_app_id: the id of the connected sub app. :param role: the role of the connected sub app. See ROLE_* bellow for more information. :param msg_queue: the queue to send messages (in the case of intra process sub app). :param agent_fname: the agent fullname managed by the sub app (for interface connected sup app, None otherwise). .. py:attribute:: ROLE_NONE :value: 'None' No role. Testing only .. py:attribute:: ROLE_OBSERVER :value: 'Observer' The connected sub app is an Interface as observer. No action cannot be send to engine. .. py:attribute:: ROLE_ACTOR :value: 'Actor' The connected sub app is an Interface as actor. Engine will take into account the action send. .. py:attribute:: ROLE_SERVER :value: 'Server' The connected sub app is the engine .. py:attribute:: id :type: str the id of the connected sub app .. py:attribute:: role :type: str The role of the connected sub app .. py:attribute:: queue :type: queue.Queue The queue to send message (for the case of intra process sub app) .. py:attribute:: agent_fname The agent fullname managed by the sub app (for interface) .. py:attribute:: last_info_sent data about sent information to this sub_app by the engine